]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: mlme: set sta.mlo to mlo state
authorJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jul 2022 14:04:05 +0000 (16:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:27:59 +0000 (14:27 +0200)
commita5a9520b3042bf87a98c9c1f2988968429b8fa1a
tree52b8f49a520c5efd1c30c8b67acf41edcebad0ee
parent971d3591418055bc0dc9d631ae975f9c1dfd5560
wifi: mac80211: mlme: set sta.mlo to mlo state

At this point, we've already changed link_id to be zero for
a non-MLO connection, so use the 'mlo' variable rather than
link ID to determine the MLO status of the station.

Fixes: b55c169d4998 ("wifi: mac80211: mlme: set sta.mlo correctly")
Fixes: 8020ebb801e6 ("wifi: mac80211: support MLO authentication/association with one link")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c