mt7603: request tx status for all frames which have a rate set in the skb

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2016-02-27 14:45:08 +01:00
parent 66528b7135
commit d68ba19b96
+3 -2
View File
@@ -699,8 +699,9 @@ 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 |
IEEE80211_TX_CTL_RATE_CTRL_PROBE)) {
if ((info->flags & (IEEE80211_TX_CTL_REQ_TX_STATUS |
IEEE80211_TX_CTL_RATE_CTRL_PROBE)) ||
info->control.rates[0].idx >= 0) {
spin_lock_bh(&dev->status_lock);
msta->pid = (msta->pid + 1) & MT_PID_INDEX;