OSDN Git Service

wifi: mac80211: mlme: refactor assoc link setup
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Jul 2022 13:21:23 +0000 (15:21 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Jul 2022 09:43:23 +0000 (11:43 +0200)
commit1845c1d4a455e000dbf66dc4126c98837ac3e528
treef7081c571b942c0853b1a8a388b8b82e8c97e5d2
parenta857c21eaf398875dce41814761353e807054636
wifi: mac80211: mlme: refactor assoc link setup

Factor out the code to set up the assoc link into a
new function ieee80211_setup_assoc_link().

While at it, also modify the 'override' handling to
just take into account whether or not the conn_flags
were changed, which is what we need to setup again
the channel later.

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