Skip to content

Commit f2b785f

Browse files
committed
wireless: rtl8723ds: fix regulatory disconnect with OCB/NAN
1 parent d02edc5 commit f2b785f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/net/wireless/rtl8723ds/os_dep/linux/wifi_regd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ int rtw_regd_init(struct wiphy *wiphy)
120120
#endif
121121

122122
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
123+
#if (LINUX_VERSION_CODE < KERNEL_VERSION(6, 1, 39))
123124
wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
125+
#endif
124126
#endif
125127

126128
return 0;

0 commit comments

Comments
 (0)