summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-11-04 01:05:12 +0000
commitdab5ebaa76d6432459ba6e26ab22600ed85dd3e4 (patch)
treee00a2fa277296d2299cfff100c251c0e52a7f62f /package/base-files
parent18a4bbb98d339eb8aac1b1b0e5b6fa6d9339f9ad (diff)
downloadmtk-20170518-dab5ebaa76d6432459ba6e26ab22600ed85dd3e4.zip
mtk-20170518-dab5ebaa76d6432459ba6e26ab22600ed85dd3e4.tar.gz
mtk-20170518-dab5ebaa76d6432459ba6e26ab22600ed85dd3e4.tar.bz2
netifd: ensure that a bridge gets created before hostapd needs it, hostapd must not attempt to create the bridge by itself
SVN-Revision: 28745
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/sbin/wifi1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index e2dd0a3..2e66bfc 100755
--- a/package/base-files/files/sbin/wifi
+++ b/package/base-files/files/sbin/wifi
@@ -40,6 +40,7 @@ bridge_interface() {(
config_get iftype "$cfg" type
[ "$iftype" = bridge ] && config_get "$cfg" ifname
+ prepare_interface_bridge "$cfg"
)}
prepare_key_wep() {