diff options
author | Abhishek Pandit-Subedi | 2020-03-19 17:07:12 -0700 |
---|---|---|
committer | Marcel Holtmann | 2020-03-23 18:48:50 +0100 |
commit | 8731840a345fb7ebfd0174ecc29aa21623bc2899 (patch) | |
tree | 324e5adc5bb6c7dcb79725848ac614187c8372a0 /ipc/util.c | |
parent | 0d7043f355d0045bd38b025630a7defefa3ec07f (diff) |
Bluetooth: Restore running state if suspend fails
If Bluetooth fails to enter the suspended state correctly, restore the
state to running (re-enabling scans). PM_POST_SUSPEND is only sent to
notifiers that successfully return from PM_PREPARE_SUSPEND notification
so we should recover gracefully if it fails.
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions