libertas: remove double assignment of dev->netdev_ops
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 8 Oct 2009 20:46:09 +0000 (16:46 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Oct 2009 20:23:34 +0000 (16:23 -0400)
This came in through the patch titled:
    libertas: first stab at cfg80211 support

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

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c

index e6da1dfa8131007585d40455e49c0f2e48484f49..87bfd17b9c8c83cf6bb563dda303b2fe3352f6a9 100644 (file)
@@ -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);