diff --git a/ioctl_cfg80211.c b/ioctl_cfg80211.c index b4572d0..782767c 100644 --- a/ioctl_cfg80211.c +++ b/ioctl_cfg80211.c @@ -706,13 +706,6 @@ 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; -#else - roam_info.links[0].channel = notify_channel; - roam_info.links[0].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 =