]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7dc57cfb1d9aa346a5d8ac0fc5938b88ea0eb0bc
tree7378314f23cd896f29e13f4ca7c5a219b48f1a4e
parente8ccef09d6f9e36203d5779caeef1eaf1c1add42
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: 6ca2e7e6e4c6 ("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