Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284283
b: refs/heads/master
c: 71bc5d9
h: refs/heads/master
i:
  284281: fbcb424
  284279: 88d05a4
v: v3
  • Loading branch information
Jussi Kivilinna authored and David S. Miller committed Jan 10, 2012
1 parent 54c0f12 commit 01d2f0a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ef66bdc4bda6aac2dae73b84d79dc8c2db33637
refs/heads/master: 71bc5d94061516c4e70303570128797bcf768b10
7 changes: 7 additions & 0 deletions trunk/drivers/net/usb/asix.c
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,13 @@ static int ax88178_reset(struct usbnet *dev)
if (ret < 0)
return ret;

/* Rewrite MAC address */
memcpy(data->mac_addr, dev->net->dev_addr, ETH_ALEN);
ret = asix_write_cmd(dev, AX_CMD_WRITE_NODE_ID, 0, 0, ETH_ALEN,
data->mac_addr);
if (ret < 0)
return ret;

ret = asix_write_rx_ctl(dev, AX_DEFAULT_RX_CTL);
if (ret < 0)
return ret;
Expand Down

0 comments on commit 01d2f0a

Please sign in to comment.