]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
udev: Set wireless interfaces into AP mode before adding to bridge bridge-wlan-fix
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Feb 2020 13:43:49 +0000 (14:43 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 14 Feb 2020 13:43:49 +0000 (14:43 +0100)
commit0ff1738524bcd9a861da5b18d898907b467c3577
tree53ba07646a5a8dab39781981456f581cc6b58dcd
parent2a43beb63c763486eb57d883e03b03a34ea40eb8
udev: Set wireless interfaces into AP mode before adding to bridge

Wireless interfaces cannot be added to the bridge when they are
still running in station mode. At boot time, the interface will
be created and it is attempted to attach it to a bridge, which
fails.

This patch now checks whether the wireless interface is going to
be an access point, changes the mode accordingly and then attaches
the interface to the bridge.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Tested-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
config/udev/network-hotplug-bridges