mac80211: fix enabling 4-address mode on a sta vif after assoc
authorFelix Fietkau <nbd@nbd.name>
Fri, 2 Jul 2021 05:01:11 +0000 (07:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 23 Jul 2021 08:34:13 +0000 (10:34 +0200)
commita5d3cbdb09ff1f52cbe040932e06c8b9915c6dad
tree7378314f23cd896f29e13f4ca7c5a219b48f1a4e
parent1a7915501ca94a1f10288defe333cd5ade210b63
mac80211: fix enabling 4-address mode on a sta vif after assoc

Notify the driver about the 4-address mode change and also send a nulldata
packet to the AP to notify it about the change

Fixes: 1ff4e8f2dec8 ("mac80211: notify the driver when a sta uses 4-address mode")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210702050111.47546-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c