- fixed bug in length calculation for abort PPDU

pull/375/head
Michael Zillgith 4 years ago
parent c838255c1e
commit ec1678e88a

@ -856,9 +856,7 @@ IsoPresentation_createAbortUserMessage(IsoPresentation* self, BufferChain writeB
{
int contentLength = 0;
contentLength = +encodeUserData(NULL, 0, payload, false, self->acseContextId);
contentLength += BerEncoder_determineLengthSize(contentLength) + 1;
contentLength += encodeUserData(NULL, 0, payload, false, self->acseContextId);
uint8_t* buffer = writeBuffer->buffer;
int bufPos = 0;

Loading…
Cancel
Save