diff options
author | Max Chou | 2020-07-23 18:47:42 +0800 |
---|---|---|
committer | Marcel Holtmann | 2020-07-28 09:12:31 +0200 |
commit | 24b065727ceba53cc5bec0e725672417154df24f (patch) | |
tree | df29e69f734cbe02c5e7dcd96298458ee0cc11d0 /net/bluetooth | |
parent | a7ad4b6119d740b1ec5788f1b98be0fd1c1b5a5a (diff) |
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>
Diffstat (limited to 'net/bluetooth')
-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 */ |