aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/mesh.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/mesh.c')
-rw-r--r--drivers/net/wireless/libertas/mesh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/mesh.c b/drivers/net/wireless/libertas/mesh.c
index 954cd00f7452..e385af1f4583 100644
--- a/drivers/net/wireless/libertas/mesh.c
+++ b/drivers/net/wireless/libertas/mesh.c
@@ -1,6 +1,7 @@
1#include <linux/delay.h> 1#include <linux/delay.h>
2#include <linux/etherdevice.h> 2#include <linux/etherdevice.h>
3#include <linux/netdevice.h> 3#include <linux/netdevice.h>
4#include <linux/if_ether.h>
4#include <linux/if_arp.h> 5#include <linux/if_arp.h>
5#include <linux/kthread.h> 6#include <linux/kthread.h>
6#include <linux/kfifo.h> 7#include <linux/kfifo.h>
@@ -364,8 +365,7 @@ int lbs_add_mesh(struct lbs_private *priv)
364 365
365 mesh_dev->netdev_ops = &mesh_netdev_ops; 366 mesh_dev->netdev_ops = &mesh_netdev_ops;
366 mesh_dev->ethtool_ops = &lbs_ethtool_ops; 367 mesh_dev->ethtool_ops = &lbs_ethtool_ops;
367 memcpy(mesh_dev->dev_addr, priv->dev->dev_addr, 368 memcpy(mesh_dev->dev_addr, priv->dev->dev_addr, ETH_ALEN);
368 sizeof(priv->dev->dev_addr));
369 369
370 SET_NETDEV_DEV(priv->mesh_dev, priv->dev->dev.parent); 370 SET_NETDEV_DEV(priv->mesh_dev, priv->dev->dev.parent);
371 371