Commit bb55441c authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: cfg80211: split struct cfg80211_ap_settings



Using the full struct cfg80211_ap_settings for an update is
misleading, since most settings cannot be updated. Split the
update case off into a new struct cfg80211_ap_update.

Change-Id: I3ba4dd9280938ab41252f145227a7005edf327e4
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 6b348f6e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2954,7 +2954,7 @@ static int ath6kl_start_ap(struct wiphy *wiphy, struct net_device *dev,
}

static int ath6kl_change_beacon(struct wiphy *wiphy, struct net_device *dev,
				struct cfg80211_ap_settings *params)
				struct cfg80211_ap_update *params)
{
	struct ath6kl_vif *vif = netdev_priv(dev);

+1 −1
Original line number Diff line number Diff line
@@ -2082,7 +2082,7 @@ void wil_cfg80211_ap_recovery(struct wil6210_priv *wil)

static int wil_cfg80211_change_beacon(struct wiphy *wiphy,
				      struct net_device *ndev,
				      struct cfg80211_ap_settings *params)
				      struct cfg80211_ap_update *params)
{
	struct wil6210_priv *wil = wiphy_to_wil(wiphy);
	struct wireless_dev *wdev = ndev->ieee80211_ptr;
+1 −1
Original line number Diff line number Diff line
@@ -5415,7 +5415,7 @@ static int brcmf_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *ndev,

static s32
brcmf_cfg80211_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
			     struct cfg80211_ap_settings *info)
			     struct cfg80211_ap_update *info)
{
	struct brcmf_if *ifp = netdev_priv(ndev);

+1 −1
Original line number Diff line number Diff line
@@ -1835,7 +1835,7 @@ static int mwifiex_cfg80211_set_cqm_rssi_config(struct wiphy *wiphy,
 */
static int mwifiex_cfg80211_change_beacon(struct wiphy *wiphy,
					  struct net_device *dev,
					  struct cfg80211_ap_settings *params)
					  struct cfg80211_ap_update *params)
{
	struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev);
	struct mwifiex_adapter *adapter = priv->adapter;
+1 −1
Original line number Diff line number Diff line
@@ -1441,7 +1441,7 @@ static int start_ap(struct wiphy *wiphy, struct net_device *dev,
}

static int change_beacon(struct wiphy *wiphy, struct net_device *dev,
			 struct cfg80211_ap_settings *params)
			 struct cfg80211_ap_update *params)
{
	struct wilc_vif *vif = netdev_priv(dev);

Loading