Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier
authorMax Chou <max.chou@realtek.com>
Thu, 23 Jul 2020 10:47:42 +0000 (18:47 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 28 Jul 2020 07:12:31 +0000 (09:12 +0200)
commit24b065727ceba53cc5bec0e725672417154df24f
treedf29e69f734cbe02c5e7dcd96298458ee0cc11d0
parenta7ad4b6119d740b1ec5788f1b98be0fd1c1b5a5a
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>
net/bluetooth/hci_core.c