|
@@ -154,7 +154,7 @@ void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe)
|
|
|
|
|
|
|
|
pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset;
|
|
pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset;
|
|
|
|
|
|
|
|
- crypto_ops = try_then_request_module(lib80211_get_crypto_ops("WEP"), "lib80211_crypt_wep");
|
|
|
|
|
|
|
+ crypto_ops = lib80211_get_crypto_ops("WEP");
|
|
|
|
|
|
|
|
if (!crypto_ops)
|
|
if (!crypto_ops)
|
|
|
return;
|
|
return;
|
|
@@ -210,7 +210,7 @@ int rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe)
|
|
|
void *crypto_private = NULL;
|
|
void *crypto_private = NULL;
|
|
|
int status = _SUCCESS;
|
|
int status = _SUCCESS;
|
|
|
const int keyindex = prxattrib->key_index;
|
|
const int keyindex = prxattrib->key_index;
|
|
|
- struct lib80211_crypto_ops *crypto_ops = try_then_request_module(lib80211_get_crypto_ops("WEP"), "lib80211_crypt_wep");
|
|
|
|
|
|
|
+ struct lib80211_crypto_ops *crypto_ops = lib80211_get_crypto_ops("WEP");
|
|
|
char iv[4], icv[4];
|
|
char iv[4], icv[4];
|
|
|
|
|
|
|
|
if (!crypto_ops) {
|
|
if (!crypto_ops) {
|