]> err.no Git - linux-2.6/commitdiff
[PATCH] libertas: fixed kernel oops on module/card removal
authorLuis Carlos Cobo <luisca@cozybit.com>
Fri, 25 May 2007 17:11:13 +0000 (13:11 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 18:28:40 +0000 (14:28 -0400)
Fixed kernel oops on module/card removal (using dongles)

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/main.c

index 5e0fc8b72d7a7a0cd6e568e673fe1d7e6c1d742a..0c39bcdbd44896ae3a132fbfecf73a9c451187cd 100644 (file)
@@ -316,7 +316,6 @@ static int wlan_dev_close(struct net_device *dev)
        lbs_deb_enter(LBS_DEB_NET);
 
        netif_carrier_off(priv->dev);
-       netif_carrier_off(priv->mesh_dev);
        priv->open = 0;
 
        lbs_deb_leave(LBS_DEB_NET);