CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2020/12/07 13:12:04

Modified files:
        sys/dev/pci    : if_iwx.c 

Log message:
Fix calculation of "maxlen" if there are multiple MPDUs in one packet.
Calculating "remain" by subtracting the offset after every parsed MPDU
is wrong and not necessary.  "offset" always points to the current position
in the receive buffer and the maximum size of the buffer is fixed,
thus knowing "offset" is sufficient for finding "maxlen".

Found by and fix from Christian Erhardt
ok stsp@

Reply via email to