From 57e50db8bfa6d662c098095a251bb42d457fa984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rin=20Cat=20=28=E9=88=B4=E7=8C=AB=29?= Date: Mon, 10 Jul 2023 21:32:52 -0400 Subject: [PATCH] Linux 6.5 compat: REGULATORY_IGNORE_STALE_KICKOFF removed --- os_dep/linux/wifi_regd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/os_dep/linux/wifi_regd.c b/os_dep/linux/wifi_regd.c index 81e1dc7..b4b0bcd 100644 --- a/os_dep/linux/wifi_regd.c +++ b/os_dep/linux/wifi_regd.c @@ -405,10 +405,6 @@ int rtw_regd_init(struct wiphy *wiphy) wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS; #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) - wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF; -#endif - return 0; } #endif /* CONFIG_IOCTL_CFG80211 */