usb: gadget: android: Remove WAKEUP flag from bmAttributes
Remove USB_CONFIG_ATT_WAKEUP from bmAttributes as we don't support remote wakeup. This fixes an issue with the USB 2.0 compliance test tool. Change-Id: Ic15e44710069f3f05ace6a82bbfa2b85a3649027 Signed-off-by: Benoit Goby <benoit@android.com>
This commit is contained in:
@@ -249,9 +249,6 @@ static int android_bind(struct usb_composite_dev *cdev)
|
||||
strings_dev[STRING_SERIAL_IDX].id = id;
|
||||
device_desc.iSerialNumber = id;
|
||||
|
||||
if (gadget->ops->wakeup)
|
||||
android_config_driver.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
|
||||
|
||||
/* register our configuration */
|
||||
ret = usb_add_config(cdev, &android_config_driver);
|
||||
if (ret) {
|
||||
|
||||
Reference in New Issue
Block a user