mac80211: remove accidentally duplicated line in minstrel_ht patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2021-01-25 18:22:30 +01:00
parent 1b1bb6bf19
commit 1fdbb8779a

View File

@ -48,11 +48,10 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
p = minstrel_ht_stats_dump(mi, MINSTREL_CCK_GROUP, p);
for (i = 0; i < MINSTREL_CCK_GROUP; i++)
@@ -228,6 +241,8 @@ minstrel_ht_stats_csv_dump(struct minstr
@@ -228,6 +241,7 @@ minstrel_ht_stats_csv_dump(struct minstr
p += sprintf(p, "%s" ,((idx == mi->max_tp_rate[2]) ? "C" : ""));
p += sprintf(p, "%s" ,((idx == mi->max_tp_rate[3]) ? "D" : ""));
p += sprintf(p, "%s" ,((idx == mi->max_prob_rate) ? "P" : ""));
+ p += sprintf(p, "%s" ,((idx == mi->max_prob_rate) ? "P" : ""));
+ p += sprintf(p, "%s", (minstrel_ht_is_sample_rate(mi, idx) ? "S" : ""));
if (gflags & IEEE80211_TX_RC_MCS) {