aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-17 07:41:31 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-17 07:41:31 +0000
commit2d577d923da4b9b98af26a4b4fae09a16a2aa463 (patch)
treee086161ef0fbe6ded5c7a599466ac903a1c50db6 /package/network/services/hostapd
parentf922e26c9ea95c9e5fe1bc6246132bde30442986 (diff)
downloadupstream-2d577d923da4b9b98af26a4b4fae09a16a2aa463.tar.gz
upstream-2d577d923da4b9b98af26a4b4fae09a16a2aa463.tar.bz2
upstream-2d577d923da4b9b98af26a4b4fae09a16a2aa463.zip
hostapd: do not remove foreign wpa_supplicant sockets
https://dev.openwrt.org/ticket/17886 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42586 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd')
-rw-r--r--package/network/services/hostapd/files/netifd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh
index aa44b393c3..30d12e904f 100644
--- a/package/network/services/hostapd/files/netifd.sh
+++ b/package/network/services/hostapd/files/netifd.sh
@@ -416,7 +416,7 @@ _wpa_supplicant_common() {
wpa_supplicant_teardown_interface() {
_wpa_supplicant_common "$1"
- rm -rf "$_rpath" "$_config"
+ rm -rf "$_rpath/$1" "$_config"
}
wpa_supplicant_prepare_interface() {