summaryrefslogtreecommitdiffstats
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-25 19:13:15 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-25 19:13:15 +0000
commitbc175c58b05a52549cf259c9a8cc455d63f5fa63 (patch)
tree89103cf3c6c9be353e134890ce07ca11b63db5f3 /package/base-files/files/sbin
parentfe9634bd9652c00c2dd5be170dd2eb45b62fe503 (diff)
[package]
- fix mac assignment for broadcom vifs in bridging mode - thanks abramoff1 for spotting this - fix possible regression with different interface protocols - bump PKG_RELEASE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15042 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-xpackage/base-files/files/sbin/wifi3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/files/sbin/wifi b/package/base-files/files/sbin/wifi
index 30ecb1b77..e0aca6315 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() {