]> git.baikalelectronics.ru Git - kernel.git/commit
wifi: mac80211: fix decap offload for stations on AP_VLAN interfaces
authorFelix Fietkau <nbd@nbd.name>
Sat, 1 Oct 2022 10:01:13 +0000 (12:01 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Oct 2022 12:43:29 +0000 (14:43 +0200)
commit51884ef2ec48a1f8b40eb2e87e40d7ab411503f8
tree037bb08a77316f8eb683771fe8b83958cfe9bc79
parentdf6fec763a08f4136443e4471408250d1312301d
wifi: mac80211: fix decap offload for stations on AP_VLAN interfaces

Since AP_VLAN interfaces are not passed to the driver, check offload_flags
on the bss vif instead.

Reported-by: Howard Hsu <howard-yh.hsu@mediatek.com>
Fixes: f6502cac5d95 ("mac80211: add rx decapsulation offload support")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c