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 d597339b6..a87cdcd65 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 @@ -29,12 +29,16 @@ suspend_interfaces() { if grep -qs '^wlan0' /var/run/ifstate; then ifdown wlan0 && up_wlan_on_resume="1" && sleep 0.5 && rmmod wlan fi + if hcitool -i hci0 dev >/dev/null 2>&1; then + hciconfig hci0 down && up_hci0_on_resume="1" && sleep 0.5 + fi } resume_interfaces() { if ! grep -qs '^wlan0' /var/run/ifstate; then [ -n "${up_wlan_on_resume}" ] && modprobe wlan && sleep 0.5 && ifup wlan0 fi + [ -n "${up_hci0_on_resume}" ] && hciconfig hci0 up } while getopts "h" c; do