summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-06-10 21:54:09 +0200
committermakefu <github@syntax-fehler.de>2013-06-10 21:54:09 +0200
commit7221f3a13a9862c65238c5e7bf31a3356cf46b27 (patch)
tree4e9570792230a01b620d96e6f340f8597e8ed1e3
parent3b5802ae97355f8e0b223648c4a6e5bb474100bb (diff)
add interface for wpa_supplicant
-rw-r--r--usr/lib/autowifi/lib/wpa_supplicant2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/lib/autowifi/lib/wpa_supplicant b/usr/lib/autowifi/lib/wpa_supplicant
index a854d7ca..234c0898 100644
--- a/usr/lib/autowifi/lib/wpa_supplicant
+++ b/usr/lib/autowifi/lib/wpa_supplicant
@@ -6,7 +6,7 @@ start_wpa_supplicant(){
cat>$wpa_conf<<EOF
ctrl_interface=/var/run/wpa_supplicant
EOF
- wpa_supplicant -i wlan0 -c $wpa_conf -B
+ wpa_supplicant -i $interface -c $wpa_conf -B
sleep 4
}
connect_wifi(){