HID devices can wake the host from a suspended state. Mark the profiles
to support wake when they are accepted. If the device hasn't already
been configured with a Wake Allowed configuration, it will default to
yes when the profile is accepted.
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
}
btd_service_set_user_data(service, idev);
+ device_set_wake_support(device, true);
return 0;
}
return -EINVAL;
btd_service_set_user_data(service, dev);
+ device_set_wake_support(device, true);
return 0;
}