1 --- a/net/mac80211/rc80211_minstrel_ht.h
2 +++ b/net/mac80211/rc80211_minstrel_ht.h
3 @@ -103,6 +103,7 @@ struct minstrel_ht_sta {
9 /* current MCS group to be sampled */
11 --- a/net/mac80211/rc80211_minstrel_ht.c
12 +++ b/net/mac80211/rc80211_minstrel_ht.c
13 @@ -261,6 +261,7 @@ minstrel_ht_update_stats(struct minstrel
15 /* try to sample up to half of the availble rates during each interval */
16 mi->sample_count *= 4;
17 + mi->sample_retry = mi->sample_count;
21 @@ -572,6 +573,10 @@ minstrel_get_sample_rate(struct minstrel
25 + if (mi->sample_retry > 0) {
29 minstrel_next_sample_idx(mi);