summaryrefslogtreecommitdiff
path: root/package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh')
-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 614db0c..ba31518 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" ] || {