fix patch

This commit is contained in:
Paolo Sabatino 2023-04-26 23:17:25 +00:00 committed by Paolo
parent be0ecb1f16
commit c9da5ca219

View File

@ -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);