aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2007-09-26 23:27:34 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:53:21 -0400
commit46640a8ccebee34bd16b1af672feaa7dc320f3f6 (patch)
treed73bde01cb5c98d8cd52b1055ba2c80884446d2d /drivers/net/wireless/iwlwifi/iwl-4965-rs.c
parent556f8db74809a435195c840f495fd1bf855dfadb (diff)
[PATCH] iwlwifi: Fix typo in rate sacling algorithm
This patch fixes tiny typo in 4965 rate sacling algorithm 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/iwl-4965-rs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-rs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
index bc5e67b0b0e2..edcc542c3b34 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
@@ -1672,7 +1672,7 @@ static void rs_initialize_lq(struct iwl_priv *priv,
1672 tbl->antenna_type = ANT_AUX; 1672 tbl->antenna_type = ANT_AUX;
1673 rs_get_tbl_info_from_mcs(&mcs_rate, priv->phymode, tbl, &rate_idx); 1673 rs_get_tbl_info_from_mcs(&mcs_rate, priv->phymode, tbl, &rate_idx);
1674 if (!rs_is_ant_connected(priv->valid_antenna, tbl->antenna_type)) 1674 if (!rs_is_ant_connected(priv->valid_antenna, tbl->antenna_type))
1675 rs_toggle_antenna(&mcs_rate, tbl), 1675 rs_toggle_antenna(&mcs_rate, tbl);
1676 1676
1677 rs_mcs_from_tbl(&mcs_rate, tbl, rate_idx, use_green); 1677 rs_mcs_from_tbl(&mcs_rate, tbl, rate_idx, use_green);
1678 tbl->current_rate.rate_n_flags = mcs_rate.rate_n_flags; 1678 tbl->current_rate.rate_n_flags = mcs_rate.rate_n_flags;