libertas: Communicate USB transfer errors
authorPaul Fox <pgf@laptop.org>
Wed, 13 Oct 2010 19:14:56 +0000 (20:14 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Oct 2010 19:57:32 +0000 (15:57 -0400)
commit4f329c043ba3495f0f97ec782948cbba7bd01047
treef553028a7574319331997111b2f20f3d51783e47
parentd4659912b557e9f68c0ad8be14e2cafd3210dd16
libertas: Communicate USB transfer errors

The return code was being overwritten with -1.
Useful for debugging.

Signed-off-by: Paul Fox <pgf@laptop.org>
Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c