cc9: standby: do not disable bluetooth on suspend if power is on
If the power domain is kept on in suspend, do not disable the Bluetooth as no new initialization is needed. Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
6b5402e3a1
commit
43451b06a8
|
|
@ -24,7 +24,7 @@ wifi_actions_needed() {
|
|||
}
|
||||
|
||||
bt_actions_needed() {
|
||||
systemctl -q is-active bluetooth-init
|
||||
systemctl -q is-active bluetooth-init && [ ! -e "/sys/firmware/devicetree/base/soc@0/bus@42800000/mmc@428b0000/keep-power-in-suspend" ]
|
||||
}
|
||||
|
||||
if [ "${1}" = "pre" ]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue