Re: [PATCH] Stall control endpoint when file storage class request wValue != 0

"Luis Lloret" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
From: Luis Lloret <[email protected]>
This patch makes the File Storage Gadget stall the control endpoint
when a MSC class request is made with wValue != 0.  This change makes
some MSC compliance test warnings disappear.

Signed-off-by: Luis Lloret <  [email protected] >
---

Hello, Allan. I have tried it after sending it as an attachment with
gmail, and it worked.  I applied the patch succesfully.
I have also tried it sending it to another account, and also worked
ok. So now I am quite sure it will work.

Thanks once again for your guidance.


2007/7/25, Alan Stern < [email protected]>:
>    On Wed, 25 Jul 2007, luislloret wrote:
>
> > From: Luis Lloret <[email protected]>
> >
>   > This patch makes the File Storage Gadget stall the control endpoint
> > when a MSC class request is made with wValue != 0.  This change makes
> > some MSC compliance test warnings disappear.
> >
> > Signed-off-by: Luis Lloret <  [email protected] >
> > ---
> >
> > Thanks again, Alan, for your patience. I didn't know gmail's web editor
> > traded tabs for spaces.
> > So here is the patch again...
>
> Once again your email program has let you down.  It inserted a space
> character in the second column where there should only be a tab.
>
> You might have better luck adding the patch as an attachment instead of
> putting it inline.  Or better yet, use something other than gmail.


I used another client, and inserted   it inline. I think the problem
is not gmail, but the copy / paste or reading the file into the body.

>    (Try mailing the patch to yourself and see what happens when you try to
> apply it; then you'll know whether it worked.)
>   Alan Stern
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
file_storage_patch (application/octet-stream, 1.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.