summaryrefslogtreecommitdiff
path: root/package/wpa_supplicant/files/wpa_supplicant.sh
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2009-01-15 07:50:11 +0000
committerAndy Boyett <agb@openwrt.org>2009-01-15 07:50:11 +0000
commitaa59a08b45f29fa21bda8fcbc2f159047f6034ce (patch)
tree4b730a2a67a6d96b48f717d9dab481d8b55b4c41 /package/wpa_supplicant/files/wpa_supplicant.sh
parent65f21ce0d3f29ded02d22a37627d88e874f4398b (diff)
downloadmtk-20170518-aa59a08b45f29fa21bda8fcbc2f159047f6034ce.zip
mtk-20170518-aa59a08b45f29fa21bda8fcbc2f159047f6034ce.tar.gz
mtk-20170518-aa59a08b45f29fa21bda8fcbc2f159047f6034ce.tar.bz2
hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
SVN-Revision: 14039
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 9011adb..519f255 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"