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-08-23 12:14:12 -07:00
2007-07-19 17:46:05 -07:00
2008-08-07 09:55:48 +01:00
2008-07-25 10:53:29 -07:00
2008-08-07 09:55:48 +01:00
2008-04-06 17:25:06 -04:00
2008-10-17 14:40:58 -07:00
2008-10-17 14:40:58 -07:00
2008-10-22 10:05:28 -07:00
2008-10-17 14:40:52 -07:00
2008-07-21 15:16:00 -07:00
2008-10-17 14:40:58 -07:00
2008-11-13 14:45:06 -08:00
2008-10-16 09:24:47 -07:00
2008-10-17 14:40:58 -07:00
2008-10-17 14:40:53 -07:00
2008-11-19 22:01:34 -08:00
2008-08-13 17:32:57 -07:00
2008-10-17 14:40:58 -07:00
2008-10-16 09:24:47 -07:00
2008-10-17 14:40:58 -07:00
2008-10-17 14:41:08 -07:00
2008-10-17 14:41:08 -07:00
2008-10-17 14:41:07 -07:00
2008-10-17 14:41:05 -07:00
2008-07-21 15:16:03 -07:00
2008-10-17 14:40:54 -07:00
2008-10-17 14:40:58 -07:00
2008-07-25 10:53:29 -07:00
2008-07-25 10:53:29 -07:00
2008-11-01 09:49:46 -07:00
2008-10-17 14:41:00 -07:00
2008-07-21 15:15:46 -07:00
2008-08-07 09:55:48 +01:00
2008-07-30 09:41:46 -07:00
2008-04-28 10:03:31 -07:00
2008-10-17 14:40:54 -07:00
2008-07-21 15:16:10 -07:00
2008-10-17 14:40:52 -07:00
2008-10-17 14:40:52 -07:00
2008-10-17 14:41:00 -07:00
2008-07-25 10:53:29 -07:00
2008-10-17 14:40:58 -07:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-10-22 10:05:28 -07:00
2008-06-15 19:54:23 +01:00
2008-10-16 09:24:47 -07:00
2008-07-21 15:16:10 -07:00
2008-10-22 10:05:27 -07:00
2007-07-12 16:34:30 -07:00
2008-10-17 14:40:58 -07:00
2008-10-17 14:41:01 -07:00
2008-07-21 15:16:15 -07:00
2008-08-13 17:32:57 -07:00
2008-10-17 14:40:53 -07:00
2008-04-29 08:06:28 -07:00
2008-10-16 09:24:46 -07:00