mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-14 17:09:36 +00:00
Merge pull request #427 from giuliobenetti/fix/linux-before-6.0.0
Re-introduce code for Linux version < 6.0.0.
This commit is contained in:
commit
c4908ca4ca
1 changed files with 4 additions and 0 deletions
|
@ -706,6 +706,10 @@ check_bss:
|
|||
|
||||
RTW_INFO(FUNC_ADPT_FMT" call cfg80211_roamed\n", FUNC_ADPT_ARG(padapter));
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0)
|
||||
roam_info.channel = notify_channel;
|
||||
roam_info.bssid = cur_network->network.MacAddress;
|
||||
#endif
|
||||
roam_info.req_ie =
|
||||
pmlmepriv->assoc_req+sizeof(struct rtw_ieee80211_hdr_3addr)+2;
|
||||
roam_info.req_ie_len =
|
||||
|
|
Loading…
Reference in a new issue