aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-09-25 08:56:38 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-09-25 09:00:39 +0200
commitbb55441c57ccc5cc2eab44e1a97698b9d708871d (patch)
treeeb3e61d5ecad4731f672931023254bb36c22f202 /net/mac80211
parent6b348f6e34ce7dc5eb68066377d5e38780ce4095 (diff)
downloadlinux-bb55441c57ccc5cc2eab44e1a97698b9d708871d.tar.gz
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')
-rw-r--r--net/mac80211/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index e751d4eba8f561..e1a64a15428727 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);