--- zzzz-none-000/linux-5.15.111/drivers/net/wireless/marvell/mwifiex/cfg80211.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/net/wireless/marvell/mwifiex/cfg80211.c 2024-02-07 10:23:14.000000000 +0000 @@ -1925,7 +1925,12 @@ /* cfg80211 operation handler for stop ap. * Function stops BSS running at uAP interface. */ +#ifndef CFG80211_PROP_MULTI_LINK_SUPPORT static int mwifiex_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev) +#else /* CFG80211_PROP_MULTI_LINK_SUPPORT */ +static int mwifiex_cfg80211_stop_ap(struct wiphy *wiphy, struct net_device *dev, + struct cfg80211_ap_settings *settings) +#endif /* CFG80211_PROP_MULTI_LINK_SUPPORT */ { struct mwifiex_private *priv = mwifiex_netdev_get_priv(dev);