Linux 6.5 compat: REGULATORY_IGNORE_STALE_KICKOFF removed

This commit is contained in:
Rin Cat (鈴猫) 2023-07-10 21:32:52 -04:00
parent 7f08a790b7
commit 57e50db8bf
No known key found for this signature in database
GPG Key ID: 2F3A6F9E2721BF2A

View File

@ -405,10 +405,6 @@ int rtw_regd_init(struct wiphy *wiphy)
wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS; wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS;
#endif #endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
#endif
return 0; return 0;
} }
#endif /* CONFIG_IOCTL_CFG80211 */ #endif /* CONFIG_IOCTL_CFG80211 */