aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211/ieee80211_crypt_wep.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-22 21:19:05 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-22 21:19:05 -0400
commit183798799216fad36c7219fe8d4d6dee6b8fa755 (patch)
treeeec3ee23ae45c095087315c70034cc140e309965 /net/ieee80211/ieee80211_crypt_wep.c
parent9b6b0b81f0de6a17ce57c818d1f403253c200e1f (diff)
net/ieee80211: fix more crypto-related build breakage
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'net/ieee80211/ieee80211_crypt_wep.c')
-rw-r--r--net/ieee80211/ieee80211_crypt_wep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_crypt_wep.c b/net/ieee80211/ieee80211_crypt_wep.c
index 9eeec13c28b0..1b2efff11d39 100644
--- a/net/ieee80211/ieee80211_crypt_wep.c
+++ b/net/ieee80211/ieee80211_crypt_wep.c
@@ -50,7 +50,7 @@ static void *prism2_wep_init(int keyidx)
50 if (IS_ERR(priv->tx_tfm)) { 50 if (IS_ERR(priv->tx_tfm)) {
51 printk(KERN_DEBUG "ieee80211_crypt_wep: could not allocate " 51 printk(KERN_DEBUG "ieee80211_crypt_wep: could not allocate "
52 "crypto API arc4\n"); 52 "crypto API arc4\n");
53 priv->tfm = NULL; 53 priv->tx_tfm = NULL;
54 goto fail; 54 goto fail;
55 } 55 }
56 56
@@ -58,6 +58,7 @@ static void *prism2_wep_init(int keyidx)
58 if (IS_ERR(priv->rx_tfm)) { 58 if (IS_ERR(priv->rx_tfm)) {
59 printk(KERN_DEBUG "ieee80211_crypt_wep: could not allocate " 59 printk(KERN_DEBUG "ieee80211_crypt_wep: could not allocate "
60 "crypto API arc4\n"); 60 "crypto API arc4\n");
61 priv->rx_tfm = NULL;
61 goto fail; 62 goto fail;
62 } 63 }
63 /* start WEP IV from a random value */ 64 /* start WEP IV from a random value */