diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 294b486bc3e..a3b6cf20f8a 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -1928,10 +1928,10 @@ static void ath_tx_rc_status(struct ath_buf *bf, struct ath_desc *ds, | |||
1928 | tx_rateindex = ds->ds_txstat.ts_rateindex; | 1928 | tx_rateindex = ds->ds_txstat.ts_rateindex; |
1929 | WARN_ON(tx_rateindex >= hw->max_rates); | 1929 | WARN_ON(tx_rateindex >= hw->max_rates); |
1930 | 1930 | ||
1931 | if (update_rc) | ||
1932 | tx_info->pad[0] |= ATH_TX_INFO_UPDATE_RC; | ||
1933 | if (ds->ds_txstat.ts_status & ATH9K_TXERR_FILT) | 1931 | if (ds->ds_txstat.ts_status & ATH9K_TXERR_FILT) |
1934 | tx_info->flags |= IEEE80211_TX_STAT_TX_FILTERED; | 1932 | tx_info->flags |= IEEE80211_TX_STAT_TX_FILTERED; |
1933 | if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && update_rc) | ||
1934 | tx_info->flags |= IEEE80211_TX_STAT_AMPDU; | ||
1935 | 1935 | ||
1936 | if ((ds->ds_txstat.ts_status & ATH9K_TXERR_FILT) == 0 && | 1936 | if ((ds->ds_txstat.ts_status & ATH9K_TXERR_FILT) == 0 && |
1937 | (bf->bf_flags & ATH9K_TXDESC_NOACK) == 0 && update_rc) { | 1937 | (bf->bf_flags & ATH9K_TXDESC_NOACK) == 0 && update_rc) { |