diff options
-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 495432ec85a9..177a7b1de322 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -250,11 +250,11 @@ static void ath_tid_drain(struct ath_softc *sc, struct ath_txq *txq, | |||
250 | static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, | 250 | static void ath_tx_set_retry(struct ath_softc *sc, struct ath_txq *txq, |
251 | struct sk_buff *skb) | 251 | struct sk_buff *skb) |
252 | { | 252 | { |
253 | struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb); | 253 | struct ath_frame_info *fi = get_frame_info(skb); |
254 | struct ieee80211_hdr *hdr; | 254 | struct ieee80211_hdr *hdr; |
255 | 255 | ||
256 | TX_STAT_INC(txq->axq_qnum, a_retries); | 256 | TX_STAT_INC(txq->axq_qnum, a_retries); |
257 | if (tx_info->control.rates[4].count++ > 0) | 257 | if (fi->retries++ > 0) |
258 | return; | 258 | return; |
259 | 259 | ||
260 | hdr = (struct ieee80211_hdr *)skb->data; | 260 | hdr = (struct ieee80211_hdr *)skb->data; |