|
@@ -3188,12 +3188,13 @@ int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
|
|
* As rt2800 has a global fallback table we cannot specify
|
|
* As rt2800 has a global fallback table we cannot specify
|
|
* more then one tx rate per frame but since the hw will
|
|
* more then one tx rate per frame but since the hw will
|
|
* try several rates (based on the fallback table) we should
|
|
* try several rates (based on the fallback table) we should
|
|
- * still initialize max_rates to the maximum number of rates
|
|
|
|
|
|
+ * initialize max_report_rates to the maximum number of rates
|
|
* we are going to try. Otherwise mac80211 will truncate our
|
|
* we are going to try. Otherwise mac80211 will truncate our
|
|
* reported tx rates and the rc algortihm will end up with
|
|
* reported tx rates and the rc algortihm will end up with
|
|
* incorrect data.
|
|
* incorrect data.
|
|
*/
|
|
*/
|
|
- rt2x00dev->hw->max_rates = 7;
|
|
|
|
|
|
+ rt2x00dev->hw->max_rates = 1;
|
|
|
|
+ rt2x00dev->hw->max_report_rates = 7;
|
|
rt2x00dev->hw->max_rate_tries = 1;
|
|
rt2x00dev->hw->max_rate_tries = 1;
|
|
|
|
|
|
rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &eeprom);
|
|
rt2x00_eeprom_read(rt2x00dev, EEPROM_ANTENNA, &eeprom);
|