aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-01-25 18:22:30 +0100
committerFelix Fietkau <nbd@nbd.name>2021-01-26 16:46:45 +0100
commit1fdbb8779aab8d64263ea4f5302175bdedfb7bfe (patch)
treeef66309319b396a25aa90858c18f644bd9d16346 /package/kernel
parent1b1bb6bf19ff1ae4d31910f2326404597a7e8470 (diff)
downloadupstream-1fdbb8779aab8d64263ea4f5302175bdedfb7bfe.tar.gz
upstream-1fdbb8779aab8d64263ea4f5302175bdedfb7bfe.tar.bz2
upstream-1fdbb8779aab8d64263ea4f5302175bdedfb7bfe.zip
mac80211: remove accidentally duplicated line in minstrel_ht patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/patches/subsys/350-mac80211-minstrel_ht-show-sampling-rates-in-debugfs.patch3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/mac80211/patches/subsys/350-mac80211-minstrel_ht-show-sampling-rates-in-debugfs.patch b/package/kernel/mac80211/patches/subsys/350-mac80211-minstrel_ht-show-sampling-rates-in-debugfs.patch
index 41910e0d18..041ba31a37 100644
--- a/package/kernel/mac80211/patches/subsys/350-mac80211-minstrel_ht-show-sampling-rates-in-debugfs.patch
+++ b/package/kernel/mac80211/patches/subsys/350-mac80211-minstrel_ht-show-sampling-rates-in-debugfs.patch
@@ -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) {