Commit 24b06572 authored by Max Chou's avatar Max Chou Committed by Marcel Holtmann

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: default avatarMax Chou <max.chou@realtek.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent a7ad4b61
...@@ -3515,7 +3515,7 @@ static int hci_suspend_notifier(struct notifier_block *nb, unsigned long action, ...@@ -3515,7 +3515,7 @@ static int hci_suspend_notifier(struct notifier_block *nb, unsigned long action,
bt_dev_err(hdev, "Suspend notifier action (%lu) failed: %d", bt_dev_err(hdev, "Suspend notifier action (%lu) failed: %d",
action, ret); action, ret);
return NOTIFY_STOP; return NOTIFY_DONE;
} }
/* Alloc HCI device */ /* Alloc HCI device */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment