Fixup for stale kickoff removal in wireless regulator API
Cope with the fix in stable 6.3.13 commit bf353116d1bf, 6.5-rc1 commte8c2af660ba0 and and 6.1.39 commit 132b7129c5fe LTS "wifi: cfg80211: fix regulatory disconnect with OCB/NAN". That is the removal of REGULATORY_IGNORE_STALE_KICKOFF from the wireless regulator internal API to fix any driver that allowed OCB/NAN.
This commit is contained in:
parent
37e8585e91
commit
8026f8b454
@ -405,7 +405,12 @@ 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)) && (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;
|
wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user