diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath5k/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c index c151588aa484..47be49acf55e 100644 --- a/drivers/net/wireless/ath5k/base.c +++ b/drivers/net/wireless/ath5k/base.c | |||
@@ -1188,7 +1188,7 @@ ath5k_txbuf_setup(struct ath5k_softc *sc, struct ath5k_buf *bf) | |||
1188 | 1188 | ||
1189 | if (info->control.hw_key) { | 1189 | if (info->control.hw_key) { |
1190 | keyidx = info->control.hw_key->hw_key_idx; | 1190 | keyidx = info->control.hw_key->hw_key_idx; |
1191 | pktlen += info->control.icv_len; | 1191 | pktlen += info->control.hw_key->icv_len; |
1192 | } | 1192 | } |
1193 | ret = ah->ah_setup_tx_desc(ah, ds, pktlen, | 1193 | ret = ah->ah_setup_tx_desc(ah, ds, pktlen, |
1194 | ieee80211_get_hdrlen_from_skb(skb), AR5K_PKT_TYPE_NORMAL, | 1194 | ieee80211_get_hdrlen_from_skb(skb), AR5K_PKT_TYPE_NORMAL, |