From: Jo-Philipp Wich Date: Mon, 17 Nov 2008 13:30:14 +0000 (+0000) Subject: remove mac address handling, now handled by /lib/network/config.sh X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0c67453253b33ca69e8cfd01af5ee0ad3b8bf1a9;p=openwrt%2Fstaging%2Frmilecki.git remove mac address handling, now handled by /lib/network/config.sh SVN-Revision: 13259 --- diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index b30a3d9fef2..e0d741b952f 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" ] || {