]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: mlme: fix disassoc with MLO
authorJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 09:01:18 +0000 (11:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:50 +0000 (14:28 +0200)
commitd06ba4b4632eca5cbc834a1a16cf4592187c36c6
tree26d386c1b77b3484bbe751da0cbd5704c933b38b
parent47d85e912c056b51fae261292ee50d20eb361cc1
wifi: mac80211: mlme: fix disassoc with MLO

In MLO we shouldn't call ieee80211_bss_info_change_notify(),
call that only (for backward compatibility) without MLO, and
otherwise ieee80211_vif_cfg_change_notify().

Similarly, ieee80211_reset_erp_info() only applies to the
current link, and in MLO we assume the driver doesn't really
need that.

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