mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76x2: clear drop mask when sending a PS response
Should make handling powersave clients more reliable Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -151,6 +151,9 @@ int mt76x2_tx_prepare_skb(struct mt76_dev *mdev, void *txwi,
|
||||
int qsel = MT_QSEL_EDCA;
|
||||
int ret;
|
||||
|
||||
if (q == &dev->mt76.q_tx[MT_TXQ_PSD] && wcid && wcid->idx < 128)
|
||||
mt76x2_mac_wcid_set_drop(dev, wcid->idx, false);
|
||||
|
||||
mt76x2_mac_write_txwi(dev, txwi, skb, wcid, sta);
|
||||
|
||||
ret = mt76x2_insert_hdr_pad(skb);
|
||||
|
||||
Reference in New Issue
Block a user