aboutsummaryrefslogtreecommitdiffstats
path: root/package/wpa_supplicant/files/wpa_supplicant.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/wpa_supplicant/files/wpa_supplicant.sh')
-rw-r--r--package/wpa_supplicant/files/wpa_supplicant.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/wpa_supplicant/files/wpa_supplicant.sh b/package/wpa_supplicant/files/wpa_supplicant.sh
index 9011adb2d0..519f2553a6 100644
--- a/package/wpa_supplicant/files/wpa_supplicant.sh
+++ b/package/wpa_supplicant/files/wpa_supplicant.sh
@@ -58,6 +58,7 @@ wpa_supplicant_setup_vif() {
config_get bridge "$vif" bridge
config_get ssid "$vif" ssid
cat > /var/run/wpa_supplicant-$ifname.conf <<EOF
+ctrl_interface=/var/run/wpa_supplicant-$ifname
network={
scan_ssid=1
ssid="$ssid"