summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8192e/rtllib_crypt_wep.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_wep.c
parent0ddcf5fdfac6bd80e153ee5c405bdfc9cb868b95 (diff)
downloadlinux-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_wep.c')
-rw-r--r--drivers/staging/rtl8192e/rtllib_crypt_wep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtl8192e/rtllib_crypt_wep.c b/drivers/staging/rtl8192e/rtllib_crypt_wep.c
index 34e2d0a..8cdf389 100644
--- a/drivers/staging/rtl8192e/rtllib_crypt_wep.c
+++ b/drivers/staging/rtl8192e/rtllib_crypt_wep.c
@@ -256,7 +256,7 @@ static char *prism2_wep_print_stats(char *p, void *priv)
}
static struct lib80211_crypto_ops rtllib_crypt_wep = {
- .name = "WEP",
+ .name = "R-WEP",
.init = prism2_wep_init,
.deinit = prism2_wep_deinit,
.encrypt_mpdu = prism2_wep_encrypt,
@@ -274,13 +274,13 @@ static struct lib80211_crypto_ops rtllib_crypt_wep = {
int __init rtllib_crypto_wep_init(void)
{
- return rtllib_register_crypto_ops(&rtllib_crypt_wep);
+ return lib80211_register_crypto_ops(&rtllib_crypt_wep);
}
void __exit rtllib_crypto_wep_exit(void)
{
- rtllib_unregister_crypto_ops(&rtllib_crypt_wep);
+ lib80211_unregister_crypto_ops(&rtllib_crypt_wep);
}
module_init(rtllib_crypto_wep_init);