aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Hollis <dhollis@davehollis.com>2006-12-28 14:09:11 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-01-05 15:19:10 -0500
commit14e51f28ade783cd948cd10202a696ff7e5d33d6 (patch)
treeb22f2829b9384463c88b0ec2fb856042f889704f
parent4f45d0387b407348de48c212ac5b3496ce6d2fda (diff)
USB: asix: Fix AX88772 device PHY selection
A small typo in ax88772_bind() prevents the device from selecting the proper PHY, leaving the device useless. The attached patch fixes this. If this patch can be added to the 2.6.19.x series as well, that would be helpful for end-users. Signed-off-by: David Hollis <dhollis@davehollis.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/net/asix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/net/asix.c b/drivers/usb/net/asix.c
index 95e682e2c9d6..f538013965b0 100644
--- a/drivers/usb/net/asix.c
+++ b/drivers/usb/net/asix.c
@@ -920,7 +920,7 @@ static int ax88772_bind(struct usbnet *dev, struct usb_interface *intf)
920 goto out2; 920 goto out2;
921 921
922 if ((ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, 922 if ((ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT,
923 0x0000, 0, 0, buf)) < 0) { 923 1, 0, 0, buf)) < 0) {
924 dbg("Select PHY #1 failed: %d", ret); 924 dbg("Select PHY #1 failed: %d", ret);
925 goto out2; 925 goto out2;
926 } 926 }