Replace custom Information Element IDs

Use enum ieee80211_eid from linux/ieee80211.h
Fix 3555bdb258
This commit is contained in:
Carlos Garces
2021-10-21 18:05:27 +02:00
parent 4799326c6f
commit 81a5bb2aa2
5 changed files with 11 additions and 11 deletions

View File

@@ -11485,7 +11485,7 @@ static void process_80211d(PADAPTER padapter, WLAN_BSSID_EX *bssid)
u8 noc; /* number of channel */
u8 j, k;
ie = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, _COUNTRY_IE_, &len, bssid->IELength - _FIXED_IE_LENGTH_);
ie = rtw_get_ie(bssid->IEs + _FIXED_IE_LENGTH_, WLAN_EID_COUNTRY, &len, bssid->IELength - _FIXED_IE_LENGTH_);
if (!ie)
return;
if (len < 6)