Commit f25e813b authored by Felix Fietkau's avatar Felix Fietkau

mt76: mt7603: clear ps filtering mode before releasing buffered frames

Fixes sending them, otherwise they loop back right into the buffer
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent b8cfd87a
......@@ -399,6 +399,8 @@ mt7603_release_buffered_frames(struct ieee80211_hw *hw,
__skb_queue_head_init(&list);
mt7603_wtbl_set_ps(dev, msta, false);
spin_lock_bh(&dev->ps_lock);
skb_queue_walk_safe(&msta->psq, skb, tmp) {
if (!nframes)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment