aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c
index 063ba2ec1ebd..d548bda1ff72 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.c
@@ -921,15 +921,6 @@ int iwl4965_alive_notify(struct iwl_priv *priv)
921 921
922 spin_lock_irqsave(&priv->lock, flags); 922 spin_lock_irqsave(&priv->lock, flags);
923 923
924#ifdef CONFIG_IWL4965_RUN_TIME_CALIB
925 memset(&(priv->sensitivity_data), 0,
926 sizeof(struct iwl_sensitivity_data));
927 memset(&(priv->chain_noise_data), 0,
928 sizeof(struct iwl_chain_noise_data));
929 for (i = 0; i < NUM_RX_CHAINS; i++)
930 priv->chain_noise_data.delta_gain_code[i] =
931 CHAIN_NOISE_DELTA_GAIN_INIT_VAL;
932#endif /* CONFIG_IWL4965_RUN_TIME_CALIB*/
933 ret = iwl_grab_nic_access(priv); 924 ret = iwl_grab_nic_access(priv);
934 if (ret) { 925 if (ret) {
935 spin_unlock_irqrestore(&priv->lock, flags); 926 spin_unlock_irqrestore(&priv->lock, flags);
@@ -996,9 +987,6 @@ int iwl4965_alive_notify(struct iwl_priv *priv)
996 iwl_release_nic_access(priv); 987 iwl_release_nic_access(priv);
997 spin_unlock_irqrestore(&priv->lock, flags); 988 spin_unlock_irqrestore(&priv->lock, flags);
998 989
999 /* Ask for statistics now, the uCode will send statistics notification
1000 * periodically after association */
1001 iwl_send_statistics_request(priv, CMD_ASYNC);
1002 return ret; 990 return ret;
1003} 991}
1004 992