diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-10-08 15:39:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-08 15:39:28 -0400 |
commit | e9a68707d736f4f73d7e209885d7b4c5c452b1dc (patch) | |
tree | d9f76964c77c1059483b08436ed060b702b8e25d /drivers/net/wireless/rt2x00/rt61pci.c | |
parent | dd53df265b1ee7a1fbbc76bb62c3bec2383bbd44 (diff) | |
parent | 15a6321d1c0f8db561932cd99e1b9897981da71f (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
Documentation/feature-removal-schedule.txt
drivers/net/wireless/ipw2x00/ipw2200.c
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 97b3935f615b..af548c87f108 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -2630,12 +2630,13 @@ static int rt61pci_probe_hw_mode(struct rt2x00_dev *rt2x00dev) | |||
2630 | * As rt61 has a global fallback table we cannot specify | 2630 | * As rt61 has a global fallback table we cannot specify |
2631 | * more then one tx rate per frame but since the hw will | 2631 | * more then one tx rate per frame but since the hw will |
2632 | * try several rates (based on the fallback table) we should | 2632 | * try several rates (based on the fallback table) we should |
2633 | * still initialize max_rates to the maximum number of rates | 2633 | * initialize max_report_rates to the maximum number of rates |
2634 | * we are going to try. Otherwise mac80211 will truncate our | 2634 | * we are going to try. Otherwise mac80211 will truncate our |
2635 | * reported tx rates and the rc algortihm will end up with | 2635 | * reported tx rates and the rc algortihm will end up with |
2636 | * incorrect data. | 2636 | * incorrect data. |
2637 | */ | 2637 | */ |
2638 | rt2x00dev->hw->max_rates = 7; | 2638 | rt2x00dev->hw->max_rates = 1; |
2639 | rt2x00dev->hw->max_report_rates = 7; | ||
2639 | rt2x00dev->hw->max_rate_tries = 1; | 2640 | rt2x00dev->hw->max_rate_tries = 1; |
2640 | 2641 | ||
2641 | /* | 2642 | /* |