summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2021-07-26 14:15:41 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2021-07-26 14:15:41 +0000
commit0a4c9f5c6b60c09862655b38b05b0024ad4dbd4a (patch)
tree17ac2690b4e015b14428898b2daeccb2f81f8e4e /lib
parente446b25fa56fef422ab5ca28922df5d1eb4955a0 (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