Browse Source

[PATCH] libertas: fixed kernel oops on module/card removal

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>
Luis Carlos Cobo 18 years ago
parent
commit
0681f98935
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/net/wireless/libertas/main.c

+ 0 - 1
drivers/net/wireless/libertas/main.c

@@ -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);