diff options
Diffstat (limited to 'net/ieee80211')
-rw-r--r-- | net/ieee80211/ieee80211_tx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index 854fc13cd78d..54e01160166f 100644 --- a/net/ieee80211/ieee80211_tx.c +++ b/net/ieee80211/ieee80211_tx.c | |||
@@ -502,9 +502,6 @@ int ieee80211_xmit(struct sk_buff *skb, struct net_device *dev) | |||
502 | if (host_encrypt) | 502 | if (host_encrypt) |
503 | ieee80211_encrypt_fragment(ieee, skb_frag, hdr_len); | 503 | ieee80211_encrypt_fragment(ieee, skb_frag, hdr_len); |
504 | else if (host_build_iv) { | 504 | else if (host_build_iv) { |
505 | struct ieee80211_crypt_data *crypt; | ||
506 | |||
507 | crypt = ieee->crypt[ieee->tx_keyidx]; | ||
508 | atomic_inc(&crypt->refcnt); | 505 | atomic_inc(&crypt->refcnt); |
509 | if (crypt->ops->build_iv) | 506 | if (crypt->ops->build_iv) |
510 | crypt->ops->build_iv(skb_frag, hdr_len, | 507 | crypt->ops->build_iv(skb_frag, hdr_len, |