aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-17 11:01:23 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-17 11:01:23 +0000
commitbee00f907828e2fc47ed5a8ecc1069473ec223fe (patch)
tree3cbe9c433753ed1f4dd5be52fdb4683ea510c705
parentd21ab4fc07a5cb938dc3fefec9bc12da3564f264 (diff)
downloadupstream-bee00f907828e2fc47ed5a8ecc1069473ec223fe.tar.gz
upstream-bee00f907828e2fc47ed5a8ecc1069473ec223fe.tar.bz2
upstream-bee00f907828e2fc47ed5a8ecc1069473ec223fe.zip
hostapd: do not remove foreign wpa_supplicant sockets
https://dev.openwrt.org/ticket/17886 Signed-off-by: John Crispin <blogic@openwrt.org> Backport of r42586 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42591 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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() {