From 92a45250525b46fb5230e19c1d02ad5e924b8071 Mon Sep 17 00:00:00 2001 From: Rihards Skuja Date: Thu, 29 Feb 2024 12:29:21 +0200 Subject: [PATCH] Update beacon change signature to fix build on recent kernels --- os_dep/linux/ioctl_cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index 30b1f66..d8fa7ce 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -5411,7 +5411,8 @@ static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *nd 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