aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorMax Chou <max.chou@realtek.com>2020-07-23 18:47:42 +0800
committerMarcel Holtmann <marcel@holtmann.org>2020-07-28 09:12:31 +0200
commit24b065727ceba53cc5bec0e725672417154df24f (patch)
treedf29e69f734cbe02c5e7dcd96298458ee0cc11d0 /net/bluetooth/hci_core.c
parentBluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags (diff)
downloadlinux-dev-24b065727ceba53cc5bec0e725672417154df24f.tar.xz
linux-dev-24b065727ceba53cc5bec0e725672417154df24f.zip
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/hci_core.c')
-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 */