mt7603: fix rate control probe frame tx status processing

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-02-18 22:12:08 +01:00
parent f476dcaab8
commit 52eaea87a2
+2 -1
View File
@@ -472,7 +472,8 @@ int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr,
if (!wcid)
wcid = &dev->global_sta.wcid;
if (info->flags & IEEE80211_TX_CTL_REQ_TX_STATUS) {
if (info->flags & (IEEE80211_TX_CTL_REQ_TX_STATUS |
IEEE80211_TX_CTL_RATE_CTRL_PROBE)) {
spin_lock_bh(&dev->status_lock);
msta->pid = (msta->pid + 1) & MT_PID_INDEX;