mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Wireless drivers: port 8723cs to be compatible with kernel 6.9
This commit is contained in:
31
patch/misc/wireless-rtl8723cs/8723cs-Port-to-6.9.patch
Normal file
31
patch/misc/wireless-rtl8723cs/8723cs-Port-to-6.9.patch
Normal 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;
|
||||
Reference in New Issue
Block a user