[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 5e0fc8b..0c39bcd 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);