aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965-rs.c
diff options
context:
space:
mode:
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