wifi: mac80211: mlme: change flags in ieee80211_determine_chantype()
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Jul 2022 09:33:57 +0000 (11:33 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:22 +0000 (11:43 +0200)
commit4a21a8ae7964278f6ed8168a4391eaa88c4ab452
treef92483a0b71a174a7153235257e0c75af4515636
parent61513162aa2d6c17c37d25de2d0e5020cd9b37ec
wifi: mac80211: mlme: change flags in ieee80211_determine_chantype()

For MLO we'll need to read flags not directly from the link as
it may not even exist yet if we're just setting up flags for
a secondary link before sending the association request, so
pass the incoming conn_flags separately. Also, while at it,
pass the sdata/link separately as for non-tracking now the
link may be NULL.

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