wireless: fix handling vif attributes on reload with mode change
authorFelix Fietkau <nbd@nbd.name>
Thu, 21 Oct 2021 09:28:35 +0000 (11:28 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 21 Oct 2021 09:28:38 +0000 (11:28 +0200)
commitf78bdec2ed5f4c83d2c93f422c8bd21b68b02517
treea7d5bd087671a11fad80f18a80337305ef5de292
parentc61a1d432b34babe230e49a82712608b07410fc3
wireless: fix handling vif attributes on reload with mode change

When switching from AP to station mode, some AP specific flags such as proxyarp
could become sticky and lead to hairpin being enabled on the sta interface.
Fix this by ensuring that vif fields are always properly rewritten

Signed-off-by: Felix Fietkau <nbd@nbd.name>
wireless.c