--- zzzz-none-000/linux-5.15.111/drivers/net/wireless/ath/wil6210/main.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/net/wireless/ath/wil6210/main.c 2024-02-07 10:23:13.000000000 +0000 @@ -349,10 +349,18 @@ if (test_and_clear_bit(wil_vif_fwconnected, vif->status)) { atomic_dec(&wil->connected_vifs); +#ifndef CFG80211_PROP_MULTI_LINK_SUPPORT cfg80211_disconnected(ndev, reason_code, NULL, 0, vif->locally_generated_disc, GFP_KERNEL); +#else /* CFG80211_PROP_MULTI_LINK_SUPPORT */ + cfg80211_disconnected(ndev, reason_code, + NULL, 0, + vif->locally_generated_disc, + NL80211_MLO_INVALID_LINK_ID, + GFP_KERNEL); +#endif /* CFG80211_PROP_MULTI_LINK_SUPPORT */ vif->locally_generated_disc = false; } else if (test_bit(wil_vif_fwconnecting, vif->status)) { cfg80211_connect_result(ndev, bssid, NULL, 0, NULL, 0,