diff --git a/ioctl_cfg80211.c b/ioctl_cfg80211.c index 93e30ab..b4572d0 100644 --- a/ioctl_cfg80211.c +++ b/ioctl_cfg80211.c @@ -706,7 +706,7 @@ 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(5, 19, 2) +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 0, 0) roam_info.channel = notify_channel; roam_info.bssid = cur_network->network.MacAddress; #else