--- zzzz-none-000/linux-5.15.111/net/mac80211/cfg.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/net/mac80211/cfg.c 2024-02-07 10:23:30.000000000 +0000 @@ -1260,7 +1260,12 @@ return 0; } +#ifndef CFG80211_PROP_MULTI_LINK_SUPPORT static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev) +#else /* CFG80211_PROP_MULTI_LINK_SUPPORT */ +static int ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev, + struct cfg80211_ap_settings *settings) +#endif /* CFG80211_PROP_MULTI_LINK_SUPPORT */ { struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); struct ieee80211_sub_if_data *vlan;