Re: [PATCH 32/68] uas: Use proper packet size when submitting reponse urbs

2013-11-18 Thread Hans de Goede
Hi, On 11/18/2013 08:05 AM, Gerd Hoffmann wrote: On Fr, 2013-11-15 at 16:06 +0100, Hans de Goede wrote: task management commands expect a response_iu rather then a sense_iu, and these have different sizes. Make the urb we submit to get the reply the right size. I think that doesn't work for

Re: [PATCH 32/68] uas: Use proper packet size when submitting reponse urbs

2013-11-17 Thread Gerd Hoffmann
On Fr, 2013-11-15 at 16:06 +0100, Hans de Goede wrote: task management commands expect a response_iu rather then a sense_iu, and these have different sizes. Make the urb we submit to get the reply the right size. I think that doesn't work for uas in usb2 (no streams) mode. status urbs are

[PATCH 32/68] uas: Use proper packet size when submitting reponse urbs

2013-11-15 Thread Hans de Goede
task management commands expect a response_iu rather then a sense_iu, and these have different sizes. Make the urb we submit to get the reply the right size. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/usb/storage/uas.c | 19 --- 1 file changed, 12 insertions(+),