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)
commit3bf9e30e493356912f9cb600f59b51133680639e
tree037bb08a77316f8eb683771fe8b83958cfe9bc79
parentceb3d688f92231e9d9e663c56a1c8bee90140bad
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: 80a915ec4427 ("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