Merge pull request #186 from prahal/complete-fixup-for-wifi-api-removal
Fixup for stale kickoff removal in wireless regulator API
This commit is contained in:
commit
ad6d6b42a8
@ -405,7 +405,12 @@ int rtw_regd_init(struct wiphy *wiphy)
|
||||
wiphy->regulatory_flags &= ~REGULATORY_DISABLE_BEACON_HINTS;
|
||||
#endif
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 39)) && !defined(RHEL94)
|
||||
#if ((LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0)) \
|
||||
&& ((LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 39)) \
|
||||
|| (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 2, 0))) \
|
||||
&& ((LINUX_VERSION_CODE < KERNEL_VERSION(6, 3, 13)) \
|
||||
|| (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 0))) \
|
||||
&& (LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 4))) && !defined(RHEL94)
|
||||
wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user