[PATCH] Fix 2.6.24-rc7 regression in asix.c

2008-01-08 Thread Russ Dill
51bf2976 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 <[EMAIL PROTECTED]> --- drivers/net/usb/asix.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH] Fix 2.6.24-rc7 regression in asix.c

2008-01-08 Thread Russ Dill
51bf2976 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 [EMAIL PROTECTED] --- drivers/net/usb/asix.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git