diff options
Diffstat (limited to 'net/mac80211/rate.c')
-rw-r--r-- | net/mac80211/rate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rate.c b/net/mac80211/rate.c index 111fba38be82..b4f7600a3e36 100644 --- a/net/mac80211/rate.c +++ b/net/mac80211/rate.c | |||
@@ -447,7 +447,7 @@ void rate_control_get_rate(struct ieee80211_sub_if_data *sdata, | |||
447 | for (i = 0; i < IEEE80211_TX_MAX_RATES; i++) { | 447 | for (i = 0; i < IEEE80211_TX_MAX_RATES; i++) { |
448 | info->control.rates[i].idx = -1; | 448 | info->control.rates[i].idx = -1; |
449 | info->control.rates[i].flags = 0; | 449 | info->control.rates[i].flags = 0; |
450 | info->control.rates[i].count = 1; | 450 | info->control.rates[i].count = 0; |
451 | } | 451 | } |
452 | 452 | ||
453 | if (sdata->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL) | 453 | if (sdata->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL) |