diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_security.c | 6 | ||||
| -rw-r--r-- | drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/staging/rtl8188eu/core/rtw_security.c index 364d6ea14bf8..2f90f60f1681 100644 --- a/drivers/staging/rtl8188eu/core/rtw_security.c +++ b/drivers/staging/rtl8188eu/core/rtw_security.c | |||
| @@ -154,7 +154,7 @@ void rtw_wep_encrypt(struct adapter *padapter, u8 *pxmitframe) | |||
| 154 | 154 | ||
| 155 | pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; | 155 | pframe = ((struct xmit_frame *)pxmitframe)->buf_addr + hw_hdr_offset; |
| 156 | 156 | ||
| 157 | crypto_ops = try_then_request_module(lib80211_get_crypto_ops("WEP"), "lib80211_crypt_wep"); | 157 | crypto_ops = lib80211_get_crypto_ops("WEP"); |
| 158 | 158 | ||
| 159 | if (!crypto_ops) | 159 | if (!crypto_ops) |
| 160 | return; | 160 | return; |
| @@ -210,7 +210,7 @@ int rtw_wep_decrypt(struct adapter *padapter, u8 *precvframe) | |||
| 210 | void *crypto_private = NULL; | 210 | void *crypto_private = NULL; |
| 211 | int status = _SUCCESS; | 211 | int status = _SUCCESS; |
| 212 | const int keyindex = prxattrib->key_index; | 212 | const int keyindex = prxattrib->key_index; |
| 213 | struct lib80211_crypto_ops *crypto_ops = try_then_request_module(lib80211_get_crypto_ops("WEP"), "lib80211_crypt_wep"); | 213 | struct lib80211_crypto_ops *crypto_ops = lib80211_get_crypto_ops("WEP"); |
| 214 | char iv[4], icv[4]; | 214 | char iv[4], icv[4]; |
| 215 | 215 | ||
| 216 | if (!crypto_ops) { | 216 | if (!crypto_ops) { |
| @@ -1291,7 +1291,7 @@ u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe) | |||
| 1291 | struct sk_buff *skb = ((struct recv_frame *)precvframe)->pkt; | 1291 | struct sk_buff *skb = ((struct recv_frame *)precvframe)->pkt; |
| 1292 | void *crypto_private = NULL; | 1292 | void *crypto_private = NULL; |
| 1293 | u8 *key, *pframe = skb->data; | 1293 | u8 *key, *pframe = skb->data; |
| 1294 | struct lib80211_crypto_ops *crypto_ops = try_then_request_module(lib80211_get_crypto_ops("CCMP"), "lib80211_crypt_ccmp"); | 1294 | struct lib80211_crypto_ops *crypto_ops = lib80211_get_crypto_ops("CCMP"); |
| 1295 | struct security_priv *psecuritypriv = &padapter->securitypriv; | 1295 | struct security_priv *psecuritypriv = &padapter->securitypriv; |
| 1296 | char iv[8], icv[8]; | 1296 | char iv[8], icv[8]; |
| 1297 | 1297 | ||
diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index 7c03b69b8ed3..6d02904de63f 100644 --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c | |||
| @@ -22,7 +22,7 @@ static const struct sdio_device_id sdio_ids[] = | |||
| 22 | { SDIO_DEVICE(0x024c, 0xb723), }, | 22 | { SDIO_DEVICE(0x024c, 0xb723), }, |
| 23 | { /* end: all zeroes */ }, | 23 | { /* end: all zeroes */ }, |
| 24 | }; | 24 | }; |
| 25 | static const struct acpi_device_id acpi_ids[] __used = { | 25 | static const struct acpi_device_id acpi_ids[] = { |
| 26 | {"OBDA8723", 0x0000}, | 26 | {"OBDA8723", 0x0000}, |
| 27 | {} | 27 | {} |
| 28 | }; | 28 | }; |
