diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-07-26 14:15:41 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-07-26 14:15:41 +0000 |
commit | 0a4c9f5c6b60c09862655b38b05b0024ad4dbd4a (patch) | |
tree | 17ac2690b4e015b14428898b2daeccb2f81f8e4e /lib | |
parent | e446b25fa56fef422ab5ca28922df5d1eb4955a0 (diff) |
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.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions