summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-08-16 14:17:04 +0200
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 11:17:04 +0100
commitd2ddf621aa45ac4cf4cce6359bfac6b49a8c6b34 (patch)
tree94ed27d88f2f922e0367470d5a02720b3727e066 /drivers/net/wireless/iwlegacy/iwl-4965-lib.c
parent46bc8d4b0e73ac75de323646d75a2333f47b84c3 (diff)
downloadlinux-d2ddf621aa45ac4cf4cce6359bfac6b49a8c6b34.tar.gz
linux-d2ddf621aa45ac4cf4cce6359bfac6b49a8c6b34.tar.bz2
linux-d2ddf621aa45ac4cf4cce6359bfac6b49a8c6b34.zip
iwlegacy: rename iwlegacy to il
More renaming to make code shorter. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-4965-lib.c')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-4965-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-4965-lib.c b/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
index 4d25590b0339..647399ed0a0c 100644
--- a/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
+++ b/drivers/net/wireless/iwlegacy/iwl-4965-lib.c
@@ -424,7 +424,7 @@ int il4965_hwrate_to_mac80211_idx(u32 rate_n_flags, enum ieee80211_band band)
if (band == IEEE80211_BAND_5GHZ)
band_offset = IL_FIRST_OFDM_RATE;
for (idx = band_offset; idx < IL_RATE_COUNT_LEGACY; idx++)
- if (iwlegacy_rates[idx].plcp == (rate_n_flags & 0xFF))
+ if (il_rates[idx].plcp == (rate_n_flags & 0xFF))
return idx - band_offset;
}