Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119280
b: refs/heads/master
c: ff34950
h: refs/heads/master
v: v3
  • Loading branch information
Richard Röjfors authored and Greg Kroah-Hartman committed Nov 20, 2008
1 parent c746ae4 commit 3fdec39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 9c264521a9f836541c122b00f505cfd60cc5bbb5
refs/heads/master: ff3495052af48f7a2bf7961b131dc9e161dae19c
2 changes: 1 addition & 1 deletion trunk/drivers/usb/gadget/f_rndis.c
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ static void rndis_response_available(void *_rndis)
__le32 *data = req->buf;
int status;

if (atomic_inc_return(&rndis->notify_count))
if (atomic_inc_return(&rndis->notify_count) != 1)
return;

/* Send RNDIS RESPONSE_AVAILABLE notification; a
Expand Down

0 comments on commit 3fdec39

Please sign in to comment.