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)
commita94c90d32193ceac2aa5fc36f3833deeeb85bf8d
tree26d386c1b77b3484bbe751da0cbd5704c933b38b
parent9f781533bb028edb3e8e10e79fb87e85a4dc6987
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