X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/74d543111ac1a2a8de70a6b7f9bbc38ed2239993..032445afeec0a2729bd2859138a1d3ef7a0958f4:/package/broadcom-wl/files/lib/wifi/broadcom.sh diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index b30a3d9fe..e0d741b95 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -237,7 +237,7 @@ enable_broadcom() { config_get ifname "$vif" ifname #append if_up "ifconfig $ifname up" ";$N" - [ -z "$macaddr" ] || append if_up "ifconfig $ifname hw ether $macaddr" ";$N" + local net_cfg bridge net_cfg="$(find_net_config "$vif")" [ -z "$net_cfg" ] || {