From 831d10b46057aa115d2f1e2839b7ba9d4729a013 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Wed, 27 Jul 2011 15:27:40 -0700 Subject: [PATCH] compat-wireless: fix netdev patch so it can be applied Signed-off-by: Luis R. Rodriguez --- patches/01-netdev.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/01-netdev.patch b/patches/01-netdev.patch index 9fcf6f54f4d2..e9ab3bddd9fc 100644 --- a/patches/01-netdev.patch +++ b/patches/01-netdev.patch @@ -228,15 +228,15 @@ without creating a headache on maintenance of the pathes. dev->flags |= IFF_BROADCAST | IFF_MULTICAST; --- a/drivers/net/wireless/libertas/mesh.c +++ b/drivers/net/wireless/libertas/mesh.c -@@ -1040,7 +1040,7 @@ static int lbs_add_mesh(struct lbs_priva +@@ -985,7 +985,7 @@ + mesh_dev->ml_priv = priv; priv->mesh_dev = mesh_dev; - priv->mesh_channel = 1; - mesh_dev->netdev_ops = &mesh_netdev_ops; + netdev_attach_ops(mesh_dev, &mesh_netdev_ops); - mesh_dev->wireless_handlers = &mesh_iw_handler_def; mesh_dev->ethtool_ops = &lbs_ethtool_ops; memcpy(mesh_dev->dev_addr, priv->dev->dev_addr, ETH_ALEN); + --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h @@ -16,6 +16,14 @@ -- 2.30.2