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 <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-3416
https://jira.digi.com/browse/DEL-3081
This commit is contained in:
Hector Palacios 2016-12-27 16:35:34 +01:00
parent cb46deba38
commit 1496d740d7
1 changed files with 0 additions and 4 deletions

View File

@ -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