diff options
author | Aloka Dixit <quic_alokad@quicinc.com> | 2023-07-27 19:40:58 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-13 12:34:01 +0200 |
commit | 66f85d57b7109baf8a7d5ee04049ac9412611d35 (patch) | |
tree | 6cb4c930ba44aee4e4c47af32aa6c05fd77cee7a /include/net/cfg80211.h | |
parent | wifi: mac80211: fixes in FILS discovery updates (diff) | |
download | linux-66f85d57b7109baf8a7d5ee04049ac9412611d35.tar.xz linux-66f85d57b7109baf8a7d5ee04049ac9412611d35.zip |
wifi: cfg80211: modify prototype for change_beacon
Modify the prototype for change_beacon() in struct cfg80211_op to
accept cfg80211_ap_settings instead of cfg80211_beacon_data so that
it can process data in addition to beacons.
Modify the prototypes of ieee80211_change_beacon() and driver specific
functions accordingly.
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20230727174100.11721-4-quic_alokad@quicinc.com
[while at it, remove pointless "if (info)" check in tracing that just
makes all the lines longer than they need be - it's never NULL]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index aa8c4538f93d..d69841f64459 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4495,7 +4495,7 @@ struct cfg80211_ops { int (*start_ap)(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_ap_settings *settings); int (*change_beacon)(struct wiphy *wiphy, struct net_device *dev, - struct cfg80211_beacon_data *info); + struct cfg80211_ap_settings *info); int (*stop_ap)(struct wiphy *wiphy, struct net_device *dev, unsigned int link_id); |