wimax/i2400m: fix bad assignment of return value in i2400mu_tx_bulk_out
authorInaky Perez-Gonzalez <inaky@linux.intel.com>
Sat, 24 Oct 2009 00:31:31 +0000 (17:31 -0700)
committerInaky Perez-Gonzalez <inaky@linux.intel.com>
Tue, 3 Nov 2009 20:49:41 +0000 (12:49 -0800)
commit5a039e78522502067a68c969fb87fba1e39bc2a6
tree8c154503cc1de69b0d6b5b40ddb6874dd11b3d8a
parentfaf57162e462eafe87458e21bf641f9d138f8171
wimax/i2400m: fix bad assignment of return value in i2400mu_tx_bulk_out

The function was always setting the return value to the amount of
bytes transferred, overwriting the error code in error paths.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
drivers/net/wimax/i2400m/usb-fw.c