wifi: cfg80211: modify prototype for change_beacon
[linux-2.6-microblaze.git] / drivers / staging / rtl8723bs / os_dep / ioctl_cfg80211.c
index 2ae7843..5ddc2d9 100644 (file)
@@ -2319,11 +2319,13 @@ 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_settings *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,