iwlwifi: turn off device when not used.
[linux-2.6.git] / drivers / net / wireless / iwlwifi / iwl3945-base.c
index c347d6631d854d75b40ece5471f4b193e1fd768c..adf4ebe6bb78816aba436dc23844d6ce27d83245 100644 (file)
@@ -2576,10 +2576,8 @@ static void __iwl3945_down(struct iwl_priv *priv)
 
        udelay(5);
 
-       if (exit_pending)
-               priv->cfg->ops->lib->apm_ops.stop(priv);
-       else
-               priv->cfg->ops->lib->apm_ops.reset(priv);
+       /* Stop the device, and put it in low power state */
+       priv->cfg->ops->lib->apm_ops.stop(priv);
 
  exit:
        memset(&priv->card_alive, 0, sizeof(struct iwl_alive_resp));