2009-10-08 20:46:47

by Luis R. Rodriguez

[permalink] [raw]
Subject: [PATCH] libertas: remove double assignment of dev->netdev_ops

This came in through the patch titled:
libertas: first stab at cfg80211 support

I only noticed it because it breaks compat-wireless :)

Cc: Holger Schurig <[email protected]>
Signed-off-by: Luis R. Rodriguez <[email protected]>
---
drivers/net/wireless/libertas/main.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c
index e6da1df..87bfd17 100644
--- a/drivers/net/wireless/libertas/main.c
+++ b/drivers/net/wireless/libertas/main.c
@@ -1276,7 +1276,6 @@ struct lbs_private *lbs_add_card(void *card, struct device *dmdev)
goto err_adapter;
}

- dev->netdev_ops = &lbs_netdev_ops;
dev->ieee80211_ptr = wdev;
dev->ml_priv = priv;
SET_NETDEV_DEV(dev, dmdev);
--
1.6.0.4



2009-10-09 07:24:13

by Holger Schurig

[permalink] [raw]
Subject: Re: [PATCH] libertas: remove double assignment of dev->netdev_ops

On Thursday 08 October 2009 22:46:09 Luis R. Rodriguez wrote:
> -???????dev->netdev_ops = &lbs_netdev_ops;

Acked-by: Holger Schurig <[email protected]>

--
http://www.holgerschurig.de