hostapd: fix a race condition on adding AP mode wds sta interfaces
authorFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 19:13:10 +0000 (21:13 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 21 Oct 2021 09:31:53 +0000 (11:31 +0200)
commitda4be02fcd5d642954b1c9d9855d9e8d1e6205f4
treebc76fa1fc6f282e980c04e0c8d65eb6d1ac82197
parentf448c2692315d379ce98c9ca21641a02c1f558d0
hostapd: fix a race condition on adding AP mode wds sta interfaces

Both hostapd and netifd attempt to add a VLAN device to a bridge.
Depending on which one wins the race, bridge vlan settings might be incomplete,
or hostapd might run into an error and refuse to service the client.
Fix this by preventing hostapd from adding interfaces to the bridge and
instead rely entirely on netifd handling this properly

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/hostapd.sh
package/network/services/hostapd/patches/711-wds_bridge_force.patch [new file with mode: 0644]