diff options
Diffstat (limited to 'package/base-files/files/sbin')
-rwxr-xr-x | package/base-files/files/sbin/wifi | 3 |
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() { |