broadcom-wl: bring interfaces up, do not rely on netifd doing it
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40749
This commit is contained in:
parent
127ce4d5ec
commit
5858557160
1 changed files with 1 additions and 0 deletions
|
@ -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" ] || {
|
||||
|
|
Loading…
Reference in a new issue