aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/rc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.c')
-rw-r--r--drivers/net/wireless/ath9k/rc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/rc.c b/drivers/net/wireless/ath9k/rc.c
index e118824625ba..7d1913d48d31 100644
--- a/drivers/net/wireless/ath9k/rc.c
+++ b/drivers/net/wireless/ath9k/rc.c
@@ -1413,7 +1413,8 @@ static void ath_tx_status(void *priv, struct ieee80211_supported_band *sband,
1413 an = (struct ath_node *)sta->drv_priv; 1413 an = (struct ath_node *)sta->drv_priv;
1414 final_ts_idx = tx_info_priv->tx.ts_rateindex; 1414 final_ts_idx = tx_info_priv->tx.ts_rateindex;
1415 1415
1416 if (!an || !priv_sta || !ieee80211_is_data(fc)) 1416 if (!an || !priv_sta || !ieee80211_is_data(fc) ||
1417 !tx_info_priv->update_rc)
1417 goto exit; 1418 goto exit;
1418 1419
1419 if (tx_info_priv->tx.ts_status & ATH9K_TXERR_FILT) 1420 if (tx_info_priv->tx.ts_status & ATH9K_TXERR_FILT)