]> www.infradead.org Git - users/hch/dma-mapping.git/commit
wifi: mac80211: fix MLO + AP_VLAN check
authorFelix Fietkau <nbd@nbd.name>
Wed, 14 Dec 2022 13:03:26 +0000 (14:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 10 Jan 2023 12:24:30 +0000 (13:24 +0100)
commitf216033d770f7ca0eda491fe01a9f02e7af59576
tree0b56de4d923959a3d87e528a45f421eea2bd5676
parentfa22b51ace8aa106267636f36170e940e676809c
wifi: mac80211: fix MLO + AP_VLAN check

Instead of preventing adding AP_VLAN to MLO enabled APs, this check was
preventing adding more than one 4-addr AP_VLAN regardless of the MLO status.
Fix this by adding missing extra checks.

Fixes: ae960ee90bb1 ("wifi: mac80211: prevent VLANs on MLDs")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20221214130326.37756-1-nbd@nbd.name
Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c