1 # This feature was removed in kernel 6.5 and the patch was backported to 6.1.39
3 diff --git a/8812au-20210629-07ac856293e247347b891c5dbd13f3ab8321132d.org/os_dep/linux/wifi_regd.c b/8812au-20210629-07ac856293e247347b891c5dbd13f3ab8321132d/os_dep/linux/wifi_regd.c
4 index 81e1dc7..b4b0bcd 100644
5 --- a/os_dep/linux/wifi_regd.c
6 +++ b/os_dep/linux/wifi_regd.c
7 @@ -405,10 +405,6 @@ int rtw_regd_init(struct wiphy *wiphy)
8 wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS;
11 -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
12 - wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
17 #endif /* CONFIG_IOCTL_CFG80211 */