[package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
[openwrt/svn-archive/archive.git] / package / wpa_supplicant / files / wpa_supplicant.sh
index 9011adb..519f255 100644 (file)
@@ -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"