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: firefly_0821_release~28711^2~2^2~39 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0681f989357416d7ef28ebaea4151ce70a6ae21c;p=firefly-linux-kernel-4.4.55.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 5e0fc8b72d7a..0c39bcdbd448 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);