aboutsummaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authormerge <null@invalid>2009-01-19 23:03:59 +0000
committerAndy Green <agreen@cpc3-nthc5-0-0-cust764.nrth.cable.ntl.com>2009-01-19 23:03:59 +0000
commit94bf169f64394537d04b7a02dfc388acf610a16b (patch)
treeb4d7d3d8be215ff7fc3e1306f317720186827fbd /include/scsi
parent1655ed19960a1597a93540a45e4a554c1139cf63 (diff)
MERGE-via-pending-tracking-hist-subject-usb-gadget-rndis-send-
pending-tracking-hist top was subject-usb-gadget-rndis-send- / 3c29888770bfa8ce3a5e2ed590c3edb97ca4abaf ... parent commitmessage: From: Richard Röjfors <richard.rojfors@endian.se> Subject: USB: gadget rndis: send notifications X-Git-Tag: v2.6.28-rc6~2^2~2 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=ff3495052af48f7a2bf7961b131dc9e161dae19c;hp=9c264521a9f836541c122b00f505cfd60cc5bbb5 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>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions