1
0
Fork 0

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>
hifive-unleashed-5.1
Inaky Perez-Gonzalez 2009-10-23 17:31:31 -07:00
parent faf57162e4
commit 5a039e7852
1 changed files with 0 additions and 1 deletions

View File

@ -157,7 +157,6 @@ retry:
result);
goto retry;
}
result = len;
if (do_autopm)
usb_autopm_put_interface(i2400mu->usb_iface);
return result;