summaryrefslogtreecommitdiff
path: root/package/base-files/files/sbin
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-03-25 19:13:15 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-03-25 19:13:15 +0000
commit9a72419724bce9b5b464680101d13a877380ee81 (patch)
tree594c903919e173a6d9ea2855a42e96bfb3af1280 /package/base-files/files/sbin
parent95d95a757bd197069a17855e935781300c91a756 (diff)
downloadmtk-20170518-9a72419724bce9b5b464680101d13a877380ee81.zip
mtk-20170518-9a72419724bce9b5b464680101d13a877380ee81.tar.gz
mtk-20170518-9a72419724bce9b5b464680101d13a877380ee81.tar.bz2
- 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
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 30ecb1b..e0aca63 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() {