Merge tag 'wireless-next-2023-10-06' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / drivers / staging / rtl8723bs / os_dep / ioctl_cfg80211.c
index af155fca39b8ca2a6ccc422a0c74dfa5f5649495..1ff763c10064be933061c8a2f1206ab5f407cd3b 100644 (file)
@@ -2317,13 +2317,14 @@ static int cfg80211_rtw_start_ap(struct wiphy *wiphy, struct net_device *ndev,
        return ret;
 }
 
-static int cfg80211_rtw_change_beacon(struct wiphy *wiphy,
-                                     struct net_device *ndev,
-                                     struct cfg80211_beacon_data *info)
+static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
+               struct cfg80211_ap_update *info)
 {
        struct adapter *adapter = rtw_netdev_priv(ndev);
 
-       return rtw_add_beacon(adapter, info->head, info->head_len, info->tail, info->tail_len);
+       return rtw_add_beacon(adapter, info->beacon.head,
+                             info->beacon.head_len, info->beacon.tail,
+                             info->beacon.tail_len);
 }
 
 static int cfg80211_rtw_stop_ap(struct wiphy *wiphy, struct net_device *ndev,