diff options
author | Max Chou <max.chou@realtek.com> | 2020-07-23 13:47:42 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-07-28 10:12:31 +0300 |
commit | 24b065727ceba53cc5bec0e725672417154df24f (patch) | |
tree | df29e69f734cbe02c5e7dcd96298458ee0cc11d0 | |
parent | a7ad4b6119d740b1ec5788f1b98be0fd1c1b5a5a (diff) | |
download | linux-24b065727ceba53cc5bec0e725672417154df24f.tar.xz |
Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier
The original return is NOTIFY_STOP, but notifier_call_chain would stop
the future call for register_pm_notifier even registered on other Kernel
modules with the same priority which value is zero.
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r-- | net/bluetooth/hci_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 2891e16c1cc1..5394ab56c915 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -3515,7 +3515,7 @@ done: bt_dev_err(hdev, "Suspend notifier action (%lu) failed: %d", action, ret); - return NOTIFY_STOP; + return NOTIFY_DONE; } /* Alloc HCI device */ |