summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-08-26 16:07:43 +0200
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 12:26:39 +0100
commit2eb058162ea8b72d5d8965520d05bcdc160010b3 (patch)
treea65548725f3f2c240cdaba4400d6d20a8774b3d8 /drivers/net/wireless/iwlegacy/iwl-4965-tx.c
parentiwlegacy: s/window/win/ (diff)
downloadlinux-2eb058162ea8b72d5d8965520d05bcdc160010b3.tar.xz
linux-2eb058162ea8b72d5d8965520d05bcdc160010b3.zip
iwlegacy: s/IL_RATE/RATE/
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965-tx.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965-tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-tx.c b/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
index 68c86e009cf3..9671e10ff354 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
+++ b/drivers/net/wireless/iwlegacy/iwl-4965-tx.c
@@ -196,7 +196,7 @@ static void il4965_tx_cmd_build_rate(struct il_priv *il,
*/
rate_idx = info->control.rates[0].idx;
if ((info->control.rates[0].flags & IEEE80211_TX_RC_MCS) ||
- rate_idx < 0 || rate_idx > IL_RATE_COUNT_LEGACY)
+ rate_idx < 0 || rate_idx > RATE_COUNT_LEGACY)
rate_idx = rate_lowest_index(&il->bands[info->band],
info->control.sta);
/* For 5 GHZ band, remap mac80211 rate indices into driver indices */