build/patch/misc/wireless-rtl8723cs/8723cs-Port-to-6.3.patch

34 lines
1.1 KiB
Diff
Raw Normal View History

From cd536d782971138010d7007a4a012b1809f7e4fc Mon Sep 17 00:00:00 2001
From: Paolo Sabatino <paolo.sabatino@gmail.com>
Date: Wed, 26 Apr 2023 19:16:10 +0000
Subject: [PATCH] fix for kernel 6.3 for rtl8723cs driver
---
drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c b/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
index f50a9abaad89..a92ec4d37036 100644
--- a/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
+++ b/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
@@ -452,14 +452,14 @@ u8 rtw_cfg80211_ch_switch_notify(_adapter *adapter, u8 ch, u8 bw, u8 offset,
goto exit;
if (started) {
- cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
+ cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
goto exit;
}
if (!rtw_cfg80211_allow_ch_switch_notify(adapter))
goto exit;
- cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
+ cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
exit:
return ret;
--
2.34.1