summaryrefslogtreecommitdiffstats
path: root/drivers
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
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')
-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 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);