diff options
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 | /* |