From 9a72419724bce9b5b464680101d13a877380ee81 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 25 Mar 2009 19:13:15 +0000 Subject: - fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE SVN-Revision: 15042 --- package/base-files/files/sbin/wifi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package/base-files/files/sbin/wifi') diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi index 30ecb1b77c..e0aca63155 100755 --- a/package/base-files/files/sbin/wifi +++ b/package/base-files/files/sbin/wifi @@ -66,11 +66,12 @@ wifi_detect() { start_net() {( local iface="$1" local config="$2" + local vifmac="$3" [ -f "/var/run/$iface.pid" ] && kill "$(cat /var/run/${iface}.pid)" 2>/dev/null include /lib/network scan_interfaces - setup_interface "$1" "$2" "$3" + setup_interface "$iface" "$config" "" "$vifmac" )} set_wifi_up() { -- cgit v1.2.3