aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd
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/hostapd
parent65f21ce0d3f29ded02d22a37627d88e874f4398b (diff)
downloadupstream-aa59a08b45f29fa21bda8fcbc2f159047f6034ce.tar.gz
upstream-aa59a08b45f29fa21bda8fcbc2f159047f6034ce.tar.bz2
upstream-aa59a08b45f29fa21bda8fcbc2f159047f6034ce.zip
hostapd,wpa_supplicant: create control interfaces for hostapd_cli and wpa_cli
SVN-Revision: 14039
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/files/hostapd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index 1c2fa35e7a..1ce62fd767 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -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}