diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-11 05:00:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-11 05:00:57 +0000 |
commit | 5858557160163551444e7bfe9ed8a6d2ddc4103b (patch) | |
tree | 86e4aafc2138ea508f5c643692ae536bc853b6f1 /package/kernel/broadcom-wl/files/lib | |
parent | 127ce4d5ec839bca2a591cbbcfd2945d06ecb0ad (diff) | |
download | master-31e0f0ae-5858557160163551444e7bfe9ed8a6d2ddc4103b.tar.gz master-31e0f0ae-5858557160163551444e7bfe9ed8a6d2ddc4103b.tar.bz2 master-31e0f0ae-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/kernel/broadcom-wl/files/lib')
-rw-r--r-- | package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh | 1 |
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" ] || { |