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.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=2b1ebf3b194aeb260cec521b7f822dd115e78058;ds=sidebyside 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 b30a3d9fef..e0d741b952 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" ] || {