On Mon, Aug 02, 2004 at 03:18:02PM -0700, David Brownell wrote:
> --- 1.64/drivers/usb/core/message.c   Wed Jun 30 06:48:12 2004
> +++ edited/drivers/usb/core/message.c Wed Jul 14 12:05:11 2004
> @@ -577,8 +577,13 @@
>                               USB_REQ_GET_DESCRIPTOR, USB_DIR_IN,
>                               (type << 8) + index, 0, buf, size,
>                               HZ * USB_CTRL_GET_TIMEOUT);
> -             if (!(result == 0 || result == -EPIPE))
> -                     break;
> +             if (result == 0 || result == -EPIPE)
> +                     continue;
> +             if (result > 1 && ((u8 *)buf)[1] != type) {
> +                     retval = -EPROTO;

Don't you mean for this to be "result"?

Sheesh, doesn't anyone actually build the patches they send me?  :)

Applied, thanks.

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to