]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/rtl8812au/remove_regulatory_ignore_stale_kickoff.patch
kernel: update to 6.1.39
[ipfire-2.x.git] / src / patches / rtl8812au / remove_regulatory_ignore_stale_kickoff.patch
1 # This feature was removed in kernel 6.5 and the patch was backported to 6.1.39
2
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;
9 #endif
10
11 -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
12 - wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
13 -#endif
14 -
15 return 0;
16 }
17 #endif /* CONFIG_IOCTL_CFG80211 */