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

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
......@@ -182,6 +182,8 @@ static ssize_t force_wakeup_write(struct file *file,
if (data->wakeup == enable)
return -EALREADY;
data->wakeup = enable;
return count;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment