From: David Hollis Date: Thu, 28 Dec 2006 19:09:11 +0000 (-0500) Subject: USB: asix: Fix AX88772 device PHY selection X-Git-Tag: v2.6.20-rc4~4^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14e51f28ade783cd948cd10202a696ff7e5d33d6;p=linux-2.6 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/net/asix.c b/drivers/usb/net/asix.c index 95e682e2c9..f538013965 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) goto out2; if ((ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, - 0x0000, 0, 0, buf)) < 0) { + 1, 0, 0, buf)) < 0) { dbg("Select PHY #1 failed: %d", ret); goto out2; }