From: Luis Carlos Cobo Date: Fri, 25 May 2007 17:11:13 +0000 (-0400) Subject: [PATCH] libertas: fixed kernel oops on module/card removal X-Git-Tag: v2.6.22-rc5~44^2~2^2~39 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0681f989357416d7ef28ebaea4151ce70a6ae21c;p=linux-2.6-omap-h63xx.git [PATCH] libertas: fixed kernel oops on module/card removal Fixed kernel oops on module/card removal (using dongles) Signed-off-by: Luis Carlos Cobo Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 5e0fc8b72d7..0c39bcdbd44 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/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);