mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
use native wireless IE codes from linux/ieee80211.h
IE code definitions have been replaced with native ones to avoid code duplication. The unobvious substitutions are: _WPA_IE_ID_ -> WLAN_EID_VENDOR_SPECIFIC; _WPA2_IE_ID_ -> WLAN_EID_RSN. Link: https://lore.kernel.org/r/20201011105050.5896-1-insafonov@gmail.com
This commit is contained in:
@@ -187,7 +187,7 @@ void rtw_report_sec_ie(_adapter *adapter, u8 authmode, u8 *sec_ie)
|
||||
|
||||
|
||||
buff = NULL;
|
||||
if (authmode == _WPA_IE_ID_) {
|
||||
if (authmode == WLAN_EID_VENDOR_SPECIFIC) {
|
||||
|
||||
buff = rtw_zmalloc(IW_CUSTOM_MAX);
|
||||
if (NULL == buff) {
|
||||
|
||||
Reference in New Issue
Block a user