mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: clear wtbl PS bit for powersave responses
Avoids filtering frames that are supposed to be sent Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
+6
-1
@@ -796,8 +796,13 @@ int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr,
|
||||
struct ieee80211_key_conf *key = info->control.hw_key;
|
||||
int pid;
|
||||
|
||||
if (!wcid)
|
||||
if (!wcid) {
|
||||
wcid = &dev->global_sta.wcid;
|
||||
} else {
|
||||
if (info->flags & (IEEE80211_TX_CTL_NO_PS_BUFFER |
|
||||
IEEE80211_TX_CTL_CLEAR_PS_FILT))
|
||||
mt7603_wtbl_set_ps(dev, wcid->idx, false);
|
||||
}
|
||||
|
||||
pid = mt7603_add_tx_status_skb(dev, msta, skb);
|
||||
if (!pid)
|
||||
|
||||
Reference in New Issue
Block a user