Wireless drivers: port 8723cs to be compatible with kernel 6.9

This commit is contained in:
Igor Pecovnik
2024-06-06 14:48:51 +02:00
committed by Igor
parent 9b16fad915
commit 8f0596dc8f
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
From 4d13c6ecde5727adcf46bb9895c07f1dbb92f8d7 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Fri, 15 Mar 2024 23:04:21 +0100
Subject: [PATCH] 8723cs: Port to v6.9
Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
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 817041e4644b..9bf7bb782b7e 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, 0);
+ cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
goto exit;
}
if (!rtw_cfg80211_allow_ch_switch_notify(adapter))
goto exit;
- cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
+ cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
exit:
return ret;