mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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 @@ done:
|
||||
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