mt76: mt7603: send BAR after powersave wakeup
authorFelix Fietkau <nbd@nbd.name>
Tue, 26 Mar 2019 08:34:21 +0000 (09:34 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 12 Apr 2019 18:28:26 +0000 (21:28 +0300)
Now that the sequence number allocation is fixed, we can finally send a BAR
at powersave wakeup time to refresh the receiver side reorder window

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mt7603/main.c

index 31a7ca6911956131ac34aecaab413ede95e7706f..a3c4ef198bfeea965fb3f8d71e9d622cc546bb1a 100644 (file)
@@ -372,7 +372,7 @@ mt7603_sta_ps(struct mt76_dev *mdev, struct ieee80211_sta *sta, bool ps)
        struct mt7603_sta *msta = (struct mt7603_sta *)sta->drv_priv;
        struct sk_buff_head list;
 
-       mt76_stop_tx_queues(&dev->mt76, sta, false);
+       mt76_stop_tx_queues(&dev->mt76, sta, true);
        mt7603_wtbl_set_ps(dev, msta, ps);
        if (ps)
                return;