[package] hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
[openwrt/svn-archive/archive.git] / package / hostapd / files / hostapd.sh
index 1c2fa35..1ce62fd 100644 (file)
@@ -85,6 +85,7 @@ hostapd_setup_vif() {
                ;;
        esac
        cat > /var/run/hostapd-$ifname.conf <<EOF
+ctrl_interface=/var/run/hostapd-$ifname
 driver=$driver
 interface=$ifname
 hw_mode=${hwmode:-g}