1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28745 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2011-11-04 01:05:12 +00:00
parent 55dc011f6f
commit d802b2e8f3
4 changed files with 14 additions and 2 deletions

View File

@@ -40,6 +40,13 @@ scan_interfaces() {
config_foreach fixup_interface interface
}
prepare_interface_bridge() {
local config="$1"
[ -n "$config" ] || return 0
ubus call network.interface."$config" prepare
}
setup_interface() {
local iface="$1"
local config="$2"