mac80211: fix flush during station removal
authorOldřich Jedlička <oldium.pro@gmail.com>
Fri, 6 Oct 2023 21:37:47 +0000 (23:37 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Jul 2024 19:13:24 +0000 (21:13 +0200)
commitbed2272605b483d1ed896c1f564c49d677eac376
tree1314ee99476617e432b299495727eb06c6c3a1ff
parentfeb5b072efe1e9777e69039d1b4a0c6c238cb75f
mac80211: fix flush during station removal

This fixes WARN_ONs when using AP_VLANs after station removal. The flush
call passed AP_VLAN vif to driver, but because these vifs are virtual and
not registered with drivers, we need to translate to the correct AP vif
first.

Fixes: openwrt#12420
Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
[Rename to 360-wifi-mac80211-do-not-pass-ap_vlan-vif-pointer-to-dri.patch]
(cherry picked from commit 3e738781a9712eaa81d5af0ecc8b55cbfe480c68)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/mac80211/patches/subsys/360-wifi-mac80211-do-not-pass-ap_vlan-vif-pointer-to-dri.patch [new file with mode: 0644]