-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wireless drivers: port 8723cs to be compatible with kernel 6.9
- Loading branch information
1 parent
9b16fad
commit 6ded2e4
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |