aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl4965-base.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-05-29 04:34:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-06-03 15:00:20 -0400
commit7f066108d15d06ec3534434333f0274c868fe798 (patch)
treec85d2e32a035a4aba4e3e43350120fcac44830b8 /drivers/net/wireless/iwlwifi/iwl4965-base.c
parent8f0618914e02c62c5cf2482f8acc7eb8e9afb816 (diff)
iwlwifi: implement apm reset flow
This patch implements apm reset flow for 4965 and 5000. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl4965-base.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl4965-base.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c
index ee9fe56552c..af0ffd3aeb4 100644
--- a/drivers/net/wireless/iwlwifi/iwl4965-base.c
+++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c
@@ -3417,9 +3417,8 @@ static void __iwl4965_down(struct iwl_priv *priv)
3417 3417
3418 udelay(5); 3418 udelay(5);
3419 3419
3420 iwl4965_hw_nic_stop_master(priv); 3420 /* FIXME: apm_ops.suspend(priv) */
3421 iwl_set_bit(priv, CSR_RESET, CSR_RESET_REG_FLAG_SW_RESET); 3421 priv->cfg->ops->lib->apm_ops.reset(priv);
3422 iwl4965_hw_nic_reset(priv);
3423 priv->cfg->ops->lib->free_shared_mem(priv); 3422 priv->cfg->ops->lib->free_shared_mem(priv);
3424 3423
3425 exit: 3424 exit: