]> git.baikalelectronics.ru Git - kernel.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)
commit9af77833326b0edf15002c68a46ab5d666204789
tree740e9883b953d6931a0dd51fb4402f753d94190f
parent3cb3d7d7dd16f642b54adc07bed7f56beb7ebdb0
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