]> bbs.cooldavid.org Git - net-next-2.6.git/commit
USB: serial: ftd_sio usb: move status check
authorJason Wessel <jason.wessel@windriver.com>
Mon, 11 May 2009 20:24:08 +0000 (15:24 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:45 +0000 (21:44 -0700)
commit87c1edd217a6742e48028db6664d7763de0449f6
tree52dd981d6b2af6a10db8ec83b4b78d29a907a2c1
parent715b1dc01fe44537e8fce9566e4bb48d6821d84b
USB: serial: ftd_sio usb: move status check

Alan Stern commented that the private driver counts must be updated
regard less of the status return on the urb when the write call back
is executed.

This patch alters the behavior to update the private driver counts by
simply moving the status check to after the driver count update.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c