Skip to content

Commit

Permalink
USB: asix: Fix AX88772 device PHY selection
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Hollis authored and Greg Kroah-Hartman committed Jan 5, 2007
1 parent 4f45d03 commit 14e51f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/net/asix.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 14e51f2

Please sign in to comment.