aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-05-11 05:00:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-05-11 05:00:57 +0000
commit5858557160163551444e7bfe9ed8a6d2ddc4103b (patch)
tree86e4aafc2138ea508f5c643692ae536bc853b6f1 /package
parent127ce4d5ec839bca2a591cbbcfd2945d06ecb0ad (diff)
downloadupstream-5858557160163551444e7bfe9ed8a6d2ddc4103b.tar.gz
upstream-5858557160163551444e7bfe9ed8a6d2ddc4103b.tar.bz2
upstream-5858557160163551444e7bfe9ed8a6d2ddc4103b.zip
broadcom-wl: bring interfaces up, do not rely on netifd doing it
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40749
Diffstat (limited to 'package')
-rw-r--r--package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
index 614db0cf0b..ba31518c1f 100644
--- a/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
@@ -358,6 +358,7 @@ enable_broadcom() {
[ "$ifname" != "${ifname##${device}-}" ] && if_cmd="if_up"
append $if_cmd "macaddr=\$(wlc ifname '$ifname' cur_etheraddr)" ";$N"
append $if_cmd "ifconfig '$ifname' \${macaddr:+hw ether \$macaddr}" ";$N"
+ append if_up "ifconfig '$ifname' up" ";$N"
local net_cfg="$(find_net_config "$vif")"
[ -z "$net_cfg" ] || {