The patch titled
     usb: queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message
has been added to the -mm tree.  Its filename is
     usb-queue-usb-usb_cdc_get_encapsulated_response-message.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: usb: queue usb USB_CDC_GET_ENCAPSULATED_RESPONSE message
From: Jan Altenberg <[EMAIL PROTECTED]>

commit 0cf4f2de0a0f4100795f38ef894d4910678c74f8 introduced a bug, which
prevents sending an USB_CDC_GET_ENCAPSULATED_RESPONSE message. This
breaks the RNDIS initialization (especially / only Windoze machines
dislike this behavior...).

Signed-off-by: Benedikt Spranger <[EMAIL PROTECTED]>
Signed-off-by: Jan Altenberg <[EMAIL PROTECTED]>
Acked-by: David Brownell <[EMAIL PROTECTED]>
Cc: Thomas Gleixner <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/usb/gadget/ether.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN 
drivers/usb/gadget/ether.c~usb-queue-usb-usb_cdc_get_encapsulated_response-message
 drivers/usb/gadget/ether.c
--- 
a/drivers/usb/gadget/ether.c~usb-queue-usb-usb_cdc_get_encapsulated_response-message
+++ a/drivers/usb/gadget/ether.c
@@ -1561,6 +1561,7 @@ done_set_intf:
                                memcpy(req->buf, buf, n);
                                req->complete = rndis_response_complete;
                                rndis_free_response(dev->rndis_config, buf);
+                               value = n;
                        }
                        /* else stalls ... spec says to avoid that */
                }
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

usb-queue-usb-usb_cdc_get_encapsulated_response-message.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to