tools/xz: do not overwrite the lzma binary (backport of r24499)
[openwrt-10.03/.git] / package / mac80211 / patches / 561-minstrel_sample_retransmit.patch
1 --- a/net/mac80211/rc80211_minstrel_ht.c
2 +++ b/net/mac80211/rc80211_minstrel_ht.c
3 @@ -506,7 +506,9 @@ minstrel_ht_set_rate(struct minstrel_pri
4         if (!mr->retry_updated)
5                 minstrel_calc_retransmit(mp, mi, index);
6  
7 -       if (mr->probability < MINSTREL_FRAC(20, 100))
8 +       if (sample)
9 +               rate->count = 1;
10 +       else if (mr->probability < MINSTREL_FRAC(20, 100))
11                 rate->count = 2;
12         else if (rtscts)
13                 rate->count = mr->retry_count_rtscts;