aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-10-29 17:26:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-10-29 17:26:49 +0000
commita4f11ca22e6f69d2feab4f239eb84d35f7cbe555 (patch)
tree6816cc5e005ec5573100c83da92a5cd0783468a3 /package/hostapd
parent9161a7023556a0db76e3d56fde12bc8b3c30a3e1 (diff)
downloadupstream-a4f11ca22e6f69d2feab4f239eb84d35f7cbe555.tar.gz
upstream-a4f11ca22e6f69d2feab4f239eb84d35f7cbe555.tar.bz2
upstream-a4f11ca22e6f69d2feab4f239eb84d35f7cbe555.zip
use pidfiles for hostapd/wpa_supplicant instead of killing all processes when bringing an interface down - fixes an issue with random hostapd death
SVN-Revision: 13078
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/files/hostapd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index 1159c3b156..707fd8c4b8 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -96,6 +96,6 @@ wpa=$wpa
wpa_pairwise=$crypto
$hostapd_cfg
EOF
- hostapd -B /var/run/hostapd-$ifname.conf
+ hostapd -P /var/run/wifi-$ifname.conf -B /var/run/hostapd-$ifname.conf
}