--- zzzz-none-000/linux-5.15.111/drivers/staging/wlan-ng/cfg80211.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/staging/wlan-ng/cfg80211.c 2024-02-07 10:23:21.000000000 +0000 @@ -640,8 +640,14 @@ void prism2_disconnected(struct wlandevice *wlandev) { +#ifndef CFG80211_PROP_MULTI_LINK_SUPPORT cfg80211_disconnected(wlandev->netdev, 0, NULL, 0, false, GFP_KERNEL); +#else /* CFG80211_PROP_MULTI_LINK_SUPPORT */ + cfg80211_disconnected(wlandev->netdev, 0, NULL, + 0, false, NL80211_MLO_INVALID_LINK_ID, + GFP_KERNEL); +#endif /* CFG80211_PROP_MULTI_LINK_SUPPORT */ } void prism2_roamed(struct wlandevice *wlandev)