From 6d85891fde78e80a55b5c708ae958a7cc6ba48ab Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 24 Mar 2009 23:42:09 +0000 Subject: [package] sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15028 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/lib/network/config.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'package/base-files/files/lib/network') diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 9b4320507d..29b7fe5c13 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -231,6 +231,7 @@ setup_interface() { # Interface settings config_get mtu "$config" mtu config_get macaddr "$config" macaddr + macaddr="${macaddr:-$3}" grep "$iface:" /proc/net/dev > /dev/null && \ $DEBUG ifconfig "$iface" down && \ $DEBUG ifconfig "$iface" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} up -- cgit v1.2.3