]> git.karo-electronics.de Git - linux-beck.git/commit
[usb netdev] asix: fix regression
authorRuss Dill <Russ.Dill@asu.edu>
Thu, 10 Jan 2008 04:32:07 +0000 (21:32 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 12 Jan 2008 22:43:19 +0000 (17:43 -0500)
commit94d433630a1e63d383d592d488f60581e0d98190
tree64807d68c7c13b2a4ce3515b5bba8377e3d422bc
parentcadf1855e9f97d3f6857a168e1e7798fe27530a1
[usb netdev] asix: fix regression

51bf2976b55d07f9daae9697a0a3ac9f58abcedc caused a regression in the asix
usbnet driver. usb_control_msg returns the number of bytes read on
success, not 0. Tested with NETGEAR FA120.

Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/usb/asix.c