Commit 8b89637d authored by Tedd Ho-Jeong An's avatar Tedd Ho-Jeong An Committed by Marcel Holtmann
Browse files

Bluetooth: hci_vhci: Fix to set the force_wakeup value



This patch sets the wakeup state of the vhci driver when the
force_wakeup is updated.

Fixes: 60edfad4 ("Bluetooth: hci_vhci: Add force_prevent_wake entry")
Signed-off-by: default avatarTedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 107fe048
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -182,6 +182,8 @@ static ssize_t force_wakeup_write(struct file *file,
	if (data->wakeup == enable)
		return -EALREADY;

	data->wakeup = enable;

	return count;
}