Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26249
b: refs/heads/master
c: 317e83b
h: refs/heads/master
i:
  26247: ac8509b
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Apr 27, 2006
1 parent 10c24d0 commit 7d2439d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a29fccd7993a3d411674e148cb0759a017be3e21
refs/heads/master: 317e83b842ba39776054219ae29844127876416a
4 changes: 1 addition & 3 deletions trunk/drivers/usb/gadget/net2280.c
Original file line number Diff line number Diff line change
Expand Up @@ -2280,9 +2280,7 @@ static void handle_ep_small (struct net2280_ep *ep)
/* if we wrote it all, we're usually done */
if (req->req.actual == req->req.length) {
if (ep->num == 0) {
/* wait for control status */
if (mode != 2)
req = NULL;
/* send zlps until the status stage */
} else if (!req->req.zero || len != ep->ep.maxpacket)
mode = 2;
}
Expand Down

0 comments on commit 7d2439d

Please sign in to comment.