fix patch
This commit is contained in:
parent
be0ecb1f16
commit
c9da5ca219
@ -32,7 +32,7 @@ index e57e3ca45d33..01303d253971 100644
|
||||
-#else
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
|
||||
+ cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
|
||||
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(5, 19, 2)
|
||||
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2)
|
||||
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
|
||||
+#else
|
||||
+ cfg80211_ch_switch_notify(adapter->pnetdev, &chdef);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user