Re: [PATCH] usb: gadget: storage: check for valid USB_BULK_GET_MAX_LUN_REQUEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Oct 2011, Paul Zimmerman wrote:

> The latest USB-IF CV tester checks for a valid length for this
> request.

That's dumb.  The BOT spec doesn't say anything about what a device
should do if it receives a request with wLength > 1.  Therefore it's
wrong to say that a device is non-compliant with the spec if it replies
to such requests.

If anything, this should be a test of the host, not of the device.  
After all, it's the host's fault if wLength is set to the wrong value.

Instead of changing this, I'd prefer to complain to the USB-IF.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux