]> asedeno.scripts.mit.edu Git - linux.git/commit
mt76: when releasing PS frames, end the service period if no frame was found
authorFelix Fietkau <nbd@nbd.name>
Sun, 3 Mar 2019 18:19:21 +0000 (19:19 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 7 Mar 2019 11:50:23 +0000 (12:50 +0100)
commitffc9a7ff59a41df9a0a265b2dd04d97f2b35893a
tree740e9883b953d6931a0dd51fb4402f753d94190f
parentb7001f46085e06a74e4677b44ac55566f66e55aa
mt76: when releasing PS frames, end the service period if no frame was found

Fixes a rare corner case if the txq dequeue attempt fails, but mac80211
still has PS buffered packets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/tx.c