Revert "fix bug 266395"

This reverts commit 1a188f8f72.

This revert fixes bug #334663.
This commit is contained in:
William Hubbs 2010-09-02 09:42:11 -05:00
parent b232e529f1
commit f700243016

View File

@ -183,11 +183,9 @@ wpa_supplicant_post_stop()
fi
if yesno "${IN_BACKGROUND}"; then
# Don't stop wpa_supplicant & wpa_cli if in background
return 0
# Only stop wpa_supplicant if it's not the controlling daemon
! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1
fi
# Only stop wpa_supplicant if it's not the controlling daemon
! service_started_daemon "${RC_SVCNAME}" "${wpas}" 1
[ $? != 0 ] && return 0
local pidfile="/var/run/wpa_cli-${IFACE}.pid"