Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 248717
b: refs/heads/master
c: 73ee4da
h: refs/heads/master
i:
  248715: 9ba25db
v: v3
  • Loading branch information
Roger Quadros authored and Greg Kroah-Hartman committed Apr 13, 2011
1 parent 6e4558c commit 60ce143
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 654d121ad8c84e3442efee20b2a0703edb18c212
refs/heads/master: 73ee4da994e7b97bd8241e39099cf3dd94675d79
5 changes: 5 additions & 0 deletions trunk/drivers/usb/gadget/f_mass_storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,11 @@ static int fsg_setup(struct usb_function *f,
if (!fsg_is_set(fsg->common))
return -EOPNOTSUPP;

++fsg->common->ep0_req_tag; /* Record arrival of a new request */
req->context = NULL;
req->length = 0;
dump_msg(fsg, "ep0-setup", (u8 *) ctrl, sizeof(*ctrl));

switch (ctrl->bRequest) {

case USB_BULK_RESET_REQUEST:
Expand Down

0 comments on commit 60ce143

Please sign in to comment.