diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-06 02:08:07 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 02:08:07 -0400 |
commit | ea2aca084ba82aaf7c148d04914ceed8758ce08a (patch) | |
tree | dcb3f4f849cf48deac2dd3bafd5c2cd2f0e7dc79 /drivers/net/wireless/iwlwifi/iwl-3945.c | |
parent | f3032be921cd126615ce3bfd7084e3d319f3f892 (diff) | |
parent | c5a78ac00c400df29645e59938700301efb371d0 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
Documentation/feature-removal-schedule.txt
drivers/net/wan/hdlc_fr.c
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl3945-base.c
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index 63f20370032d..38866ab0040f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -590,8 +590,12 @@ static void iwl3945_add_radiotap(struct iwl3945_priv *priv, | |||
590 | 590 | ||
591 | if (rate == -1) | 591 | if (rate == -1) |
592 | iwl3945_rt->rt_rate = 0; | 592 | iwl3945_rt->rt_rate = 0; |
593 | else | 593 | else { |
594 | if (stats->band == IEEE80211_BAND_5GHZ) | ||
595 | rate += IWL_FIRST_OFDM_RATE; | ||
596 | |||
594 | iwl3945_rt->rt_rate = iwl3945_rates[rate].ieee; | 597 | iwl3945_rt->rt_rate = iwl3945_rates[rate].ieee; |
598 | } | ||
595 | 599 | ||
596 | /* antenna number */ | 600 | /* antenna number */ |
597 | antenna = phy_flags_hw & RX_RES_PHY_FLAGS_ANTENNA_MSK; | 601 | antenna = phy_flags_hw & RX_RES_PHY_FLAGS_ANTENNA_MSK; |