]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbda9de6fae637d06e45a38be96c69ca7c567fe9f
treef92483a0b71a174a7153235257e0c75af4515636
parentd5424f9e4dd42d584045db668ece83290290e8c9
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