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)
committerFelix Fietkau <nbd@nbd.name>
Sun, 24 Dec 2023 09:34:46 +0000 (10:34 +0100)
commit3e738781a9712eaa81d5af0ecc8b55cbfe480c68
tree67cee90fc6344ab762424960a7a5638b09086947
parent8b706d9297ed9aa9ba15e759bfacf207640e43ad
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>
package/kernel/mac80211/patches/subsys/001-wifi-mac80211-do-not-pass-ap_vlan-vif-pointer-to-dri.patch [new file with mode: 0644]