iwlwifi: turn off device when not used.
[linux-2.6.git] / drivers / net / wireless / iwlwifi / iwl-agn.c
index 8d7bc38fe0051f9c9cc4d8a5d325b9ec174990d4..0878b34ee5861fb4acafb3bd494a89fbb6c291d3 100644 (file)
@@ -1899,11 +1899,9 @@ static void __iwl_down(struct iwl_priv *priv)
 
        udelay(5);
 
-       /* FIXME: apm_ops.suspend(priv) */
-       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));