mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-20 07:09:58 +00:00
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: 60edfad4fd0b6 ("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…
x
Reference in New Issue
Block a user