diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-24 23:42:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-03-24 23:42:09 +0000 |
commit | 7e6c947e4b2d3332846d3ae091c884d3abe654b6 (patch) | |
tree | 82ca1378641500e5f514976a1fe1afa049dc1414 /package/base-files/files/lib | |
parent | 28b9fea4e759470fd3e1f285b228b7101b15b18b (diff) | |
download | upstream-7e6c947e4b2d3332846d3ae091c884d3abe654b6.tar.gz upstream-7e6c947e4b2d3332846d3ae091c884d3abe654b6.tar.bz2 upstream-7e6c947e4b2d3332846d3ae091c884d3abe654b6.zip |
sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
SVN-Revision: 15028
Diffstat (limited to 'package/base-files/files/lib')
-rwxr-xr-x | package/base-files/files/lib/network/config.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |