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>
This commit is contained in:
Max Chou 2020-07-23 18:47:42 +08:00 committed by Marcel Holtmann
parent a7ad4b6119
commit 24b065727c

View File

@ -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 */