From 1496d740d7992afdd5a0e3b4c44720c55bf8d798 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Tue, 27 Dec 2016 16:35:34 +0100 Subject: [PATCH] ccimx6ul: suspend: do not bring hci0 down/up Bringing the Bluetooth interface down and up during suspend is not needed and it even showed problems on the Starter Board where the Bluetooth interface does not come up again after having been brought down in suspend. Signed-off-by: Hector Palacios https://jira.digi.com/browse/DEL-3416 https://jira.digi.com/browse/DEL-3081 --- .../recipes-core/busybox/busybox-1.23.2/ccimx6ul/suspend | 4 ---- 1 file changed, 4 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 d0f16dfa9..c89ed5ec1 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 @@ -26,9 +26,6 @@ usage() { } suspend_interfaces() { - if hcitool -i hci0 dev >/dev/null 2>&1; then - hciconfig hci0 down && up_hci0_on_resume="1" - fi if grep -qs '^wlan0' /var/run/ifstate; then ifdown wlan0 && up_wlan_on_resume="1" fi @@ -41,7 +38,6 @@ resume_interfaces() { if ! grep -qs '^wlan0' /var/run/ifstate; then [ -n "${up_wlan_on_resume}" ] && ifup wlan0 fi - [ -n "${up_hci0_on_resume}" ] && hciconfig hci0 up } while getopts "h" c; do