Add a patch that breaks compilation of wifi driver 8723ds on a kernel 6.6 (#5912)

+ attach sources to commmit ID
This commit is contained in:
Igor
2023-11-14 18:21:21 +01:00
committed by GitHub
parent e4e74c245f
commit 563de0bd8a
2 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
From 2906e202e84c05abeb480e94a93d5ae52d9ae3c2 Mon Sep 17 00:00:00 2001
From: Jookia <contact@jookia.org>
Date: Tue, 14 Nov 2023 22:18:15 +1100
Subject: [PATCH] Fix version check for change_beacon it should be 6.7
---
drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c b/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c
index 3d07daf..53ccef4 100644
--- a/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c
+++ b/drivers/net/wireless/rtl8723ds/os_dep/linux/ioctl_cfg80211.c
@@ -4188,7 +4188,7 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev,
return ret;
}
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 5, 0))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0))
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
struct cfg80211_ap_update *params)
{