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 | 27f9561689c1eb5340a66ed7a04e1726e41252c8 (patch) | |
tree | fe3f99af906eb75660ca7b3365f520876b9ba40d /package/kernel/broadcom-wl/files | |
parent | 2fe44224009e0eed8424633205b07a35597b2a54 (diff) | |
download | master-187ad058-27f9561689c1eb5340a66ed7a04e1726e41252c8.tar.gz master-187ad058-27f9561689c1eb5340a66ed7a04e1726e41252c8.tar.bz2 master-187ad058-27f9561689c1eb5340a66ed7a04e1726e41252c8.zip |
broadcom-wl: bring interfaces up, do not rely on netifd doing it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40749 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/broadcom-wl/files')
-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" ] || { |