summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib_crypt.c
diff options
context:
space:
mode:
authorSean MacLennan <seanm@seanm.ca>2011-12-20 04:23:08 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-12-22 21:48:59 (GMT)
commit3b148be0df8e45a0259d7e84001cf02e897af614 (patch)
treecfd94e59751c9f102590b1dd348b488f60708366 /drivers/staging/rtl8192e/rtllib_crypt.c
parent0ddcf5fdfac6bd80e153ee5c405bdfc9cb868b95 (diff)
downloadlinux-fsl-qoriq-3b148be0df8e45a0259d7e84001cf02e897af614.tar.xz
staging/rtl8192e: Register against lib80211
Convert rtllib from registering the crypt drivers against rtllib_crypt and instead register the against lib80211. The crypto functions have R- prepended (R-CCMP, R-TKIP, R-WEP) so they will not clash with the lib80211 versions. We cannot use the lib80211 crypt drivers since the rtl8192e has some hardware support that is not handled by the lib80211 crypt drivers. Signed-off-by: Sean MacLennan <seanm@seanm.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8192e/rtllib_crypt.c')
-rw-r--r--drivers/staging/rtl8192e/rtllib_crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_crypt.c b/drivers/staging/rtl8192e/rtllib_crypt.c
index 606a2f5..86152d0 100644
--- a/drivers/staging/rtl8192e/rtllib_crypt.c
+++ b/drivers/staging/rtl8192e/rtllib_crypt.c
@@ -215,7 +215,7 @@ int __init rtllib_crypto_init(void)
INIT_LIST_HEAD(&hcrypt->algs);
spin_lock_init(&hcrypt->lock);
- ret = rtllib_register_crypto_ops(&rtllib_crypt_null);
+ ret = lib80211_register_crypto_ops(&rtllib_crypt_null);
if (ret < 0) {
kfree(hcrypt);
hcrypt = NULL;