mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
From 62ad3a8e79901b90be578d11e0aee8c5e1bd72bc Mon Sep 17 00:00:00 2001
|
|
From: Paolo Sabatino <paolo.sabatino@gmail.com>
|
|
Date: Thu, 11 Jan 2024 20:13:20 +0100
|
|
Subject: [PATCH] rtl8723cs: fix for kernel 6.7
|
|
|
|
---
|
|
drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c | 5 +++--
|
|
1 file changed, 3 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 130e1a66886a..ba9816460f5a 100644
|
|
--- a/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
|
|
+++ b/drivers/staging/rtl8723cs/os_dep/linux/ioctl_cfg80211.c
|
|
@@ -5320,14 +5320,15 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev,
|
|
}
|
|
|
|
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
|
|
- struct cfg80211_beacon_data *info)
|
|
+ struct cfg80211_ap_update *info)
|
|
{
|
|
int ret = 0;
|
|
+ struct cfg80211_beacon_data *beacon = &info->beacon;
|
|
_adapter *adapter = (_adapter *)rtw_netdev_priv(ndev);
|
|
|
|
RTW_INFO(FUNC_NDEV_FMT"\n", FUNC_NDEV_ARG(ndev));
|
|
|
|
- ret = rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len);
|
|
+ ret = rtw_add_beacon(adapter, beacon->head, beacon->head_len, beacon->tail, beacon->tail_len);
|
|
|
|
return ret;
|
|
}
|
|
--
|
|
2.34.1
|
|
|