From: Felix Fietkau Date: Sun, 11 May 2014 05:00:57 +0000 (+0000) Subject: broadcom-wl: bring interfaces up, do not rely on netifd doing it X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5858557160163551444e7bfe9ed8a6d2ddc4103b;p=openwrt%2Fstaging%2F981213.git broadcom-wl: bring interfaces up, do not rely on netifd doing it Signed-off-by: Felix Fietkau SVN-Revision: 40749 --- 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" ] || {