wifi: mac80211: Create resources for disabled links
authorBenjamin Berg <benjamin.berg@intel.com>
Mon, 25 Sep 2023 15:30:29 +0000 (17:30 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 26 Sep 2023 07:12:47 +0000 (09:12 +0200)
commitaaba3cd33fc9593a858beeee419c0e6671ee9551
tree1771f364b75ad9e1a3d6129d1e9d938a3b8d8bc5
parent334bf33eec5701a1e4e967bcb7cc8611a998334b
wifi: mac80211: Create resources for disabled links

When associating to an MLD AP, links may be disabled. Create all
resources associated with a disabled link so that we can later enable it
without having to create these resources on the fly.

Fixes: 6d543b34dbcf ("wifi: mac80211: Support disabled links during association")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://lore.kernel.org/r/20230925173028.f9afdb26f6c7.I4e6e199aaefc1bf017362d64f3869645fa6830b5@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c