aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorLuis Carlos Cobo <luisca@cozybit.com>2007-05-25 13:11:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 14:28:40 -0400
commit0681f989357416d7ef28ebaea4151ce70a6ae21c (patch)
tree571e60b692682945c9d9af68b36f43baca4ea51d /drivers/net
parentb46794dffab643e69d41c58a1a39c57b03826813 (diff)
[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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/libertas/main.c1
1 files changed, 0 insertions, 1 deletions
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)
316 lbs_deb_enter(LBS_DEB_NET); 316 lbs_deb_enter(LBS_DEB_NET);
317 317
318 netif_carrier_off(priv->dev); 318 netif_carrier_off(priv->dev);
319 netif_carrier_off(priv->mesh_dev);
320 priv->open = 0; 319 priv->open = 0;
321 320
322 lbs_deb_leave(LBS_DEB_NET); 321 lbs_deb_leave(LBS_DEB_NET);