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:
Felix Fietkau
2017-11-16 14:14:08 +01:00
parent 0ce792337d
commit ccc4baf446
+3
View File
@@ -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);