staging: rtl8723bs: Remove commented ifdef CONFIG_WAPI_SUPPORT
PATCH 1/1 staging: rtl8723bs: Remove commented ifdef CONFIG_WAPI_SUPPORT
Remove ifdef CONFIG_WAPI_SUPPORT comment from rtw_ieee80211 since there is no way to enable or use it. Also, there is no documentation about the purpose of that config.
Signed-off-by Rodrigo Gobbi <[email protected]>
---
I guess this stands for "Wireless Authentication and Privacy Infrastructure", but that config is not used anywhere inside rtl8723bs driver. It was first added at 2017 [1] in the same way, so there is no harm to remove it.
Tks and regards.
--- drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 2 -- 1 file changed, 2 deletions(-)
drivers/staging/rtl8723bs/core/rtw_ieee80211.c +0 -2
@@ -560,7 +560,6 @@ int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwireturn ret; } -/* ifdef CONFIG_WAPI_SUPPORT */ int rtw_get_wapi_ie (u8 *in_ie,uint in_len,u8 *wapi_ie,u16 *wapi_len) {int len =0 ;
@@ -600,7 +599,6 @@ int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len)return len; } -/* endif */ void rtw_get_sec_ie (u8 *in_ie,uint in_len,u8 *rsn_ie,u16 *rsn_len,u8 *wpa_ie,u16 *wpa_len) {
Signature · 1 line
2.48.1