aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hollis <dhollis@davehollis.com>2007-01-05 12:34:05 -0500
committerChris Wright <chrisw@sous-sol.org>2007-01-10 11:05:23 -0800
commita44a397980a37ecd619b46d40ed39aa76c14f3d6 (patch)
tree5ea68a2966c7725a0fc81ad37b51a8c46ae16f33
parentedfe21a29b1dca9ce5a938317868066d2e21c385 (diff)
[PATCH] asix: Fix typo for AX88772 PHY Selection
The attached patch fixes a PHY selection problem that prevents AX88772 based devices (Linksys USB200Mv2, etc) devices from working. The interface comes up and everything seems fine except the device doesn't send/receive any packets. The one-liner attached fixes this issue and makes the devices usable again. Signed-off-by: David Hollis <dhollis@davehollis.com> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
-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 881841e600d..1a22d002cd0 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;
}