diff options
author | Ron Rindjunsky <ron.rindjunsky@intel.com> | 2008-06-30 05:23:13 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-06-30 17:37:41 -0400 |
commit | 36e1f16ed293d47f052f3532f2fc74c1bfe9c09e (patch) | |
tree | 55bc3ccea197ae5a6b1b73e24e2868a87edaaf75 /drivers/net/wireless/iwlwifi/iwl4965-base.c | |
parent | 0c70515f2397b0e61a9961eba386a1277621a244 (diff) |
iwlwifi: remove obsolete lq_ready use
This patch removes the use of lq_ready, once used to sync between link
quality commands to avoid race conditions, but no longer needed as
bss_info_changed is in use.
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@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.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index a87e870f96d0..bb3e61c09cb4 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -2483,7 +2483,6 @@ static void iwl4965_post_associate(struct iwl_priv *priv) | |||
2483 | 2483 | ||
2484 | switch (priv->iw_mode) { | 2484 | switch (priv->iw_mode) { |
2485 | case IEEE80211_IF_TYPE_STA: | 2485 | case IEEE80211_IF_TYPE_STA: |
2486 | iwl4965_rate_scale_init(priv->hw, IWL_AP_ID); | ||
2487 | break; | 2486 | break; |
2488 | 2487 | ||
2489 | case IEEE80211_IF_TYPE_IBSS: | 2488 | case IEEE80211_IF_TYPE_IBSS: |
@@ -2492,7 +2491,6 @@ static void iwl4965_post_associate(struct iwl_priv *priv) | |||
2492 | priv->assoc_id = 1; | 2491 | priv->assoc_id = 1; |
2493 | 2492 | ||
2494 | iwl_rxon_add_station(priv, priv->bssid, 0); | 2493 | iwl_rxon_add_station(priv, priv->bssid, 0); |
2495 | iwl4965_rate_scale_init(priv->hw, IWL_STA_ID); | ||
2496 | iwl4965_send_beacon_cmd(priv); | 2494 | iwl4965_send_beacon_cmd(priv); |
2497 | 2495 | ||
2498 | break; | 2496 | break; |
@@ -3425,7 +3423,6 @@ static void iwl4965_mac_reset_tsf(struct ieee80211_hw *hw) | |||
3425 | mutex_lock(&priv->mutex); | 3423 | mutex_lock(&priv->mutex); |
3426 | IWL_DEBUG_MAC80211("enter\n"); | 3424 | IWL_DEBUG_MAC80211("enter\n"); |
3427 | 3425 | ||
3428 | priv->lq_mngr.lq_ready = 0; | ||
3429 | spin_lock_irqsave(&priv->lock, flags); | 3426 | spin_lock_irqsave(&priv->lock, flags); |
3430 | memset(&priv->current_ht_config, 0, sizeof(struct iwl_ht_info)); | 3427 | memset(&priv->current_ht_config, 0, sizeof(struct iwl_ht_info)); |
3431 | spin_unlock_irqrestore(&priv->lock, flags); | 3428 | spin_unlock_irqrestore(&priv->lock, flags); |