wifi: mac80211: mlme: refactor ieee80211_prep_channel() a bit
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Jul 2022 12:48:55 +0000 (14:48 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:22 +0000 (11:43 +0200)
commit7781f0d81c7a7e6dc37aa2902a634b7dc08be54d
treeae3808a5902de2e8ca14bce462037e56e5f77bfa
parent978420c2105ca903f8eb563106ea0f676a170ab6
wifi: mac80211: mlme: refactor ieee80211_prep_channel() a bit

Refactor ieee80211_prep_channel() to make the link argument
optional and add a conn_flags pointer argument instead, so
that we can later use this for links that don't exist yet
to build the right information for MLO.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c