diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-09-23 05:19:05 +0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-09-23 05:19:05 +0400 |
commit | 183798799216fad36c7219fe8d4d6dee6b8fa755 (patch) | |
tree | eec3ee23ae45c095087315c70034cc140e309965 /net/ieee80211/ieee80211_crypt_wep.c | |
parent | 9b6b0b81f0de6a17ce57c818d1f403253c200e1f (diff) | |
download | linux-183798799216fad36c7219fe8d4d6dee6b8fa755.tar.xz |
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.c | 3 |
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) 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 */ |