aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
diff options
context:
space:
mode:
authorIan Schram <ischram@telenet.be>2007-10-25 05:15:22 -0400
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:06 -0500
commit01ebd063e11bdcf1ddc605d968ea89aef48e34e0 (patch)
treed7c4046afe2f615f6ddb8f611eee81a3ddad3839 /drivers/net/wireless/iwlwifi/iwl-4965-rs.c
parent220173b01266d866009ca075757effad39648529 (diff)
iwlwifi: fix various spelling and typos
Fixing various spelling errors and typos. Mostly in comments. In total 27 words were corrected, some of which occurred more than ones. Signed-Of-By: Ian Schram <ischram@telenet.be> 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/iwl-4965-rs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965-rs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
index 62a3b52b3270..2227ee4ad1af 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
@@ -498,7 +498,7 @@ static u16 rs_get_adjacent_rate(u8 index, u16 rate_mask, int rate_type)
498 u8 high = IWL_RATE_INVALID; 498 u8 high = IWL_RATE_INVALID;
499 u8 low = IWL_RATE_INVALID; 499 u8 low = IWL_RATE_INVALID;
500 500
501 /* 802.11A or ht walks to the next literal adjascent rate in 501 /* 802.11A or ht walks to the next literal adjacent rate in
502 * the rate table */ 502 * the rate table */
503 if (is_a_band(rate_type) || !is_legacy(rate_type)) { 503 if (is_a_band(rate_type) || !is_legacy(rate_type)) {
504 int i; 504 int i;
@@ -1413,7 +1413,7 @@ static void rs_rate_scale_perform(struct iwl_priv *priv,
1413 index = IWL_INVALID_VALUE; 1413 index = IWL_INVALID_VALUE;
1414 update_lq = 1; 1414 update_lq = 1;
1415 1415
1416 /* get the lowest availabe rate */ 1416 /* get the lowest available rate */
1417 for (i = 0; i <= IWL_RATE_COUNT; i++) { 1417 for (i = 0; i <= IWL_RATE_COUNT; i++) {
1418 if ((1 << i) & rate_scale_index_msk) 1418 if ((1 << i) & rate_scale_index_msk)
1419 index = i; 1419 index = i;
@@ -2245,7 +2245,7 @@ int iwl_fill_rs_info(struct ieee80211_hw *hw, char *buf, u8 sta_id)
2245 max_time, good * 100 / samples, good, samples); 2245 max_time, good * 100 / samples, good, samples);
2246 else 2246 else
2247 count += sprintf(&buf[count], "\nAverage rate: 0Mbs\n"); 2247 count += sprintf(&buf[count], "\nAverage rate: 0Mbs\n");
2248 count += sprintf(&buf[count], "\nrate scale type %d anntena %d " 2248 count += sprintf(&buf[count], "\nrate scale type %d antenna %d "
2249 "active_search %d rate index %d\n", lq_type, antenna, 2249 "active_search %d rate index %d\n", lq_type, antenna,
2250 rs_priv->search_better_tbl, sta->last_txrate); 2250 rs_priv->search_better_tbl, sta->last_txrate);
2251 2251