Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d32a96e2 authored by Bjørn Mork's avatar Bjørn Mork Committed by David S. Miller
Browse files

net: libertas: inherit addr_assign_type along with dev_addr



A device inheriting a random or set address should reflect this in
its addr_assign_type.

Acked-by: default avatarJohn W. Linville <linville@tuxdriver.com>
Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db181347
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);