Richard Röjfors ff3495052a 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 <richard.rojfors@endian.se>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-11-19 22:01:34 -08:00
..
2008-10-22 10:05:28 -07:00
2008-11-13 14:45:06 -08:00
2008-10-17 14:40:53 -07:00
2008-11-01 09:49:46 -07:00
2008-10-17 14:41:00 -07:00
2008-04-28 10:03:31 -07:00
2008-07-21 15:16:10 -07:00
2008-10-17 14:41:00 -07:00
2008-07-21 15:16:10 -07:00
2008-10-17 14:40:53 -07:00
2008-10-16 09:24:46 -07:00