diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-09-25 08:56:38 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-25 09:00:39 +0200 |
commit | bb55441c57ccc5cc2eab44e1a97698b9d708871d (patch) | |
tree | eb3e61d5ecad4731f672931023254bb36c22f202 /net/mac80211/cfg.c | |
parent | 6b348f6e34ce7dc5eb68066377d5e38780ce4095 (diff) | |
download | lwn-bb55441c57ccc5cc2eab44e1a97698b9d708871d.tar.gz lwn-bb55441c57ccc5cc2eab44e1a97698b9d708871d.zip |
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: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index e751d4eba8f5..e1a64a154287 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1477,7 +1477,7 @@ error: } static int ieee80211_change_beacon(struct wiphy *wiphy, struct net_device *dev, - struct cfg80211_ap_settings *params) + struct cfg80211_ap_update *params) { struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); |