]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/wep.c
autofs4: collect version check return
[linux-2.6-omap-h63xx.git] / net / mac80211 / wep.c
index 376c84987e4fdf8f7ff0a312c843c6974d20e0b6..f0e2d3ecb5c49d5ca1ac6b8752c67bcf48a2350d 100644 (file)
@@ -313,9 +313,6 @@ static int wep_encrypt_skb(struct ieee80211_tx_data *tx, struct sk_buff *skb)
 {
        struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
 
-       info->control.iv_len = WEP_IV_LEN;
-       info->control.icv_len = WEP_ICV_LEN;
-
        if (!(tx->key->flags & KEY_FLAG_UPLOADED_TO_HARDWARE)) {
                if (ieee80211_wep_encrypt(tx->local, skb, tx->key))
                        return -1;