From: blogic Date: Wed, 17 Sep 2014 07:41:31 +0000 (+0000) Subject: hostapd: do not remove foreign wpa_supplicant sockets X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=1ffdb84131d2919ce6b678a490357eed5c849584;p=openwrt.git hostapd: do not remove foreign wpa_supplicant sockets https://dev.openwrt.org/ticket/17886 Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42586 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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() {