forked from Minki/linux
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: 60edfad4fd
("Bluetooth: hci_vhci: Add force_prevent_wake entry")
Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
107fe0482b
commit
8b89637dba
@ -182,6 +182,8 @@ static ssize_t force_wakeup_write(struct file *file,
|
||||
if (data->wakeup == enable)
|
||||
return -EALREADY;
|
||||
|
||||
data->wakeup = enable;
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user