projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db18134
)
net: libertas: inherit addr_assign_type along with dev_addr
author
Bjørn Mork
<bjorn@mork.no>
Fri, 30 Aug 2013 16:08:51 +0000
(18:08 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Sep 2013 00:57:50 +0000
(20:57 -0400)
A device inheriting a random or set address should reflect this in
its addr_assign_type.
Acked-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/libertas/mesh.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/libertas/mesh.c
b/drivers/net/wireless/libertas/mesh.c
index efae07e05c807cf12fe9081723377eb9bc895e81..6fef746345bc5ddd16957ad0d69a42a1f4636903 100644
(file)
--- a/
drivers/net/wireless/libertas/mesh.c
+++ b/
drivers/net/wireless/libertas/mesh.c
@@
-1017,7
+1017,7
@@
static int lbs_add_mesh(struct lbs_private *priv)
mesh_dev->netdev_ops = &mesh_netdev_ops;
mesh_dev->ethtool_ops = &lbs_ethtool_ops;
-
memcpy(mesh_dev->dev_addr, priv->dev->dev_addr, ETH_ALEN
);
+
eth_hw_addr_inherit(mesh_dev, priv->dev
);
SET_NETDEV_DEV(priv->mesh_dev, priv->dev->dev.parent);