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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */