iwl3945: remove unnecessary call to apm_ops.reset()
[linux-2.6.git] / drivers / net / wireless / iwlwifi / iwl3945-base.c
index adf4ebe6bb78816aba436dc23844d6ce27d83245..ab4c4bae76009c18d499e4e6af3b4c90123b4577 100644 (file)
@@ -2563,11 +2563,6 @@ static void __iwl3945_down(struct iwl_priv *priv)
                        test_bit(STATUS_EXIT_PENDING, &priv->status) <<
                                STATUS_EXIT_PENDING;
 
-       priv->cfg->ops->lib->apm_ops.reset(priv);
-       spin_lock_irqsave(&priv->lock, flags);
-       iwl_clear_bit(priv, CSR_GP_CNTRL, CSR_GP_CNTRL_REG_FLAG_MAC_ACCESS_REQ);
-       spin_unlock_irqrestore(&priv->lock, flags);
-
        iwl3945_hw_txq_ctx_stop(priv);
        iwl3945_hw_rxq_stop(priv);