forked from luck/tmp_suning_uos_patched
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:
parent
a7ad4b6119
commit
24b065727c
|
@ -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",
|
||||
action, ret);
|
||||
|
||||
return NOTIFY_STOP;
|
||||
return NOTIFY_DONE;
|
||||
}
|
||||
|
||||
/* Alloc HCI device */
|
||||
|
|
Loading…
Reference in New Issue
Block a user