CVSROOT:        /cvs
Module name:    src
Changes by:     s...@cvs.openbsd.org    2021/07/26 08:15:40

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

Log message:
Fix accounting of the number of frames queued on an iwx(4) Tx ring.

Stop decrementing ring->queued inside the if-statement which guards
maintenance of the OACTIVE flag. This is wrong and resulted in a negative
counter value (visible in firmware error traces). The counter is already
decremented in the loop above where frames are taken off the ring.

Reply via email to