From 41e320954943079d67fd968f13d40b1df6e700fa Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Wed, 30 Nov 2016 13:17:46 +0100 Subject: [PATCH] ccimx6ul: suspend: remove delays Remove preventive delays during the removal of Bluetooth and Wireless interfaces. Tests revealed they are not needed. Signed-off-by: Hector Palacios --- .../recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend index c13b3502c..d0f16dfa9 100755 --- a/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend +++ b/meta-digi-dey/recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend @@ -27,10 +27,10 @@ usage() { suspend_interfaces() { if hcitool -i hci0 dev >/dev/null 2>&1; then - hciconfig hci0 down && up_hci0_on_resume="1" && sleep 0.5 + hciconfig hci0 down && up_hci0_on_resume="1" fi if grep -qs '^wlan0' /var/run/ifstate; then - ifdown wlan0 && up_wlan_on_resume="1" && sleep 0.5 + ifdown wlan0 && up_wlan_on_resume="1" fi if grep -qs '^wlan' /proc/modules; then rmmod wlan