diff options
author | Richard Röjfors <[email protected]> | 2008-11-15 19:53:24 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2008-11-19 22:01:34 -0800 |
commit | ff3495052af48f7a2bf7961b131dc9e161dae19c (patch) | |
tree | fdb4b2a903f3abaef298eecbf0d84859995fadea /lib/string_helpers.c | |
parent | 9c264521a9f836541c122b00f505cfd60cc5bbb5 (diff) |
USB: gadget rndis: send notifications
It turns out that atomic_inc_return() returns the *new* value
not the original one, so the logic in rndis_response_available()
kept the first RNDIS response notification from getting out.
This prevented interoperation with MS-Windows (but not Linux).
Fix this to make RNDIS behave again.
Signed-off-by: Richard Röjfors <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions