projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e004b70
)
mt76: mt7603: clear the service period on releasing PS filtered packets
author
Felix Fietkau
<nbd@nbd.name>
Sun, 3 Mar 2019 18:16:03 +0000
(19:16 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 7 Mar 2019 11:50:23 +0000
(12:50 +0100)
These packets have no txwi entry in the ring, so tracking via tx status does
not work. To prevent PS poll requests from being unanswered, end the service
period right away
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7603/main.c
b/drivers/net/wireless/mediatek/mt76/mt7603/main.c
index 8da0b8707d24486c13e15be98e2956563ba03752..ea25eff5e81c81d98209124eaebb47847df0adf0 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7603/main.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7603/main.c
@@
-416,6
+416,9
@@
mt7603_release_buffered_frames(struct ieee80211_hw *hw,
}
spin_unlock_bh(&dev->ps_lock);
+ if (!skb_queue_empty(&list))
+ ieee80211_sta_eosp(sta);
+
mt7603_ps_tx_list(dev, &list);
if (nframes)