From c9da5ca219c61cf832f00c418a3a0ccc3534f10a Mon Sep 17 00:00:00 2001 From: Paolo Sabatino Date: Wed, 26 Apr 2023 23:17:25 +0000 Subject: [PATCH] fix patch --- patch/misc/wireless-rtl8723du-6.3.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch/misc/wireless-rtl8723du-6.3.patch b/patch/misc/wireless-rtl8723du-6.3.patch index 712cb882ec..afd08367f6 100644 --- a/patch/misc/wireless-rtl8723du-6.3.patch +++ b/patch/misc/wireless-rtl8723du-6.3.patch @@ -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);