35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
From bc7c89d0bb4294165879261cc54555bf40267947 Mon Sep 17 00:00:00 2001
|
|
From: Rihards Skuja <rihards@skuja.eu>
|
|
Date: Thu, 29 Feb 2024 12:37:52 +0200
|
|
Subject: [PATCH] Update beacon change signature to fix build on recent kernels
|
|
|
|
---
|
|
os_dep/linux/ioctl_cfg80211.c | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c
|
|
index 30b1f66..302cdde 100644
|
|
--- a/os_dep/linux/ioctl_cfg80211.c
|
|
+++ b/os_dep/linux/ioctl_cfg80211.c
|
|
@@ -5404,14 +5404,15 @@ exit:
|
|
}
|
|
|
|
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;
|
|
_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, info->beacon.head, info->beacon.head_len,
|
|
+ info->beacon.tail, info->beacon.tail_len);
|
|
|
|
return ret;
|
|
}
|
|
--
|
|
2.44.0
|
|
|