aboutsummaryrefslogtreecommitdiff
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 9eeec13c28b..1b2efff11d3 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)
if (IS_ERR(priv->tx_tfm)) {
printk(KERN_DEBUG "ieee80211_crypt_wep: could not allocate "
"crypto API arc4\n");
- priv->tfm = NULL;
+ priv->tx_tfm = NULL;
goto fail;
}
@@ -58,6 +58,7 @@ static void *prism2_wep_init(int keyidx)
if (IS_ERR(priv->rx_tfm)) {
printk(KERN_DEBUG "ieee80211_crypt_wep: could not allocate "
"crypto API arc4\n");
+ priv->rx_tfm = NULL;
goto fail;
}
/* start WEP IV from a random value */