Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57673
b: refs/heads/master
c: 0a0d08a
h: refs/heads/master
i:
  57671: b47f59b
v: v3
  • Loading branch information
Luis Carlos Cobo Rus authored and John W. Linville committed Jun 11, 2007
1 parent 857e536 commit b78e4d5
Show file tree
Hide file tree
Showing 2 changed files with 5 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: a23c58a3ac4090a41e63ae5b69af87b409abe019
refs/heads/master: 0a0d08aca5d0a77da4b66de289acfd891a3e72e1
4 changes: 4 additions & 0 deletions trunk/drivers/net/wireless/libertas/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,9 @@ static int wlan_set_mac_address(struct net_device *dev, void *addr)

lbs_deb_enter(LBS_DEB_NET);

/* In case it was called from the mesh device */
dev = priv->dev ;

memset(adapter->current_addr, 0, ETH_ALEN);

/* dev->dev_addr is 8 bytes */
Expand Down Expand Up @@ -914,6 +917,7 @@ int libertas_add_mesh(wlan_private *priv, struct device *dev)
mesh_dev->stop = mesh_close;
mesh_dev->do_ioctl = libertas_do_ioctl;
mesh_dev->get_stats = wlan_get_stats;
mesh_dev->set_mac_address = wlan_set_mac_address;
mesh_dev->ethtool_ops = &libertas_ethtool_ops;
memcpy(mesh_dev->dev_addr, priv->dev->dev_addr,
sizeof(priv->dev->dev_addr));
Expand Down

0 comments on commit b78e4d5

Please sign in to comment.