Commit f4561705 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix build error from previous patch.

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent d66fa569
......@@ -580,7 +580,7 @@ int usb_get_descriptor(struct usb_device *dev, unsigned char type, unsigned char
if (result == 0 || result == -EPIPE)
continue;
if (result > 1 && ((u8 *)buf)[1] != type) {
retval = -EPROTO;
result = -EPROTO;
continue;
}
break;
......
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