aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-17 07:41:31 +0000
committerJohn Crispin <john@openwrt.org>2014-09-17 07:41:31 +0000
commited2fff74524c87bd2c516544a69bab1d06e588c5 (patch)
tree90a9bcbc06bc709b04a487b9ac7e76d9666a5854 /package/network
parent150224d91e973caf3407ba66c4e3a643aa987e7d (diff)
downloadupstream-ed2fff74524c87bd2c516544a69bab1d06e588c5.tar.gz
upstream-ed2fff74524c87bd2c516544a69bab1d06e588c5.tar.bz2
upstream-ed2fff74524c87bd2c516544a69bab1d06e588c5.zip
hostapd: do not remove foreign wpa_supplicant sockets
https://dev.openwrt.org/ticket/17886 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42586
Diffstat (limited to 'package/network')
-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() {