summaryrefslogtreecommitdiffstats
path: root/usr/lib/autowifi
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/autowifi')
-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(){