diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index 0e79e58cf4c9..3c4b5d2d9e16 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c | |||
@@ -1226,8 +1226,12 @@ static void ath_tx_status(void *priv, struct ieee80211_supported_band *sband, | |||
1226 | long_retry = rate->count - 1; | 1226 | long_retry = rate->count - 1; |
1227 | } | 1227 | } |
1228 | 1228 | ||
1229 | if (!priv_sta || !ieee80211_is_data(fc) || | 1229 | if (!priv_sta || !ieee80211_is_data(fc)) |
1230 | !(tx_info->pad[0] & ATH_TX_INFO_UPDATE_RC)) | 1230 | return; |
1231 | |||
1232 | /* This packet was aggregated but doesn't carry status info */ | ||
1233 | if ((tx_info->flags & IEEE80211_TX_CTL_AMPDU) && | ||
1234 | !(tx_info->flags & IEEE80211_TX_STAT_AMPDU)) | ||
1231 | return; | 1235 | return; |
1232 | 1236 | ||
1233 | if (tx_info->flags & IEEE80211_TX_STAT_TX_FILTERED) | 1237 | if (tx_info->flags & IEEE80211_TX_STAT_TX_FILTERED) |