summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorMax Chou <max.chou@realtek.com>2020-07-23 13:47:42 +0300
committerMarcel Holtmann <marcel@holtmann.org>2020-07-28 10:12:31 +0300
commit24b065727ceba53cc5bec0e725672417154df24f (patch)
treedf29e69f734cbe02c5e7dcd96298458ee0cc11d0 /net/bluetooth
parenta7ad4b6119d740b1ec5788f1b98be0fd1c1b5a5a (diff)
downloadlinux-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>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/hci_core.c2
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 */