[PATCH v2] mac80211: Fix AMSDU rate printout in debugfs.
From: <hidden>
Date: 2011-11-17 22:53:41
Subsystem:
mac80211, the rest · Maintainers:
Johannes Berg, Linus Torvalds
From: <hidden>
Date: 2011-11-17 22:53:41
Subsystem:
mac80211, the rest · Maintainers:
Johannes Berg, Linus Torvalds
From: Ben Greear <redacted> It was flipped. See section 7.3.2.56 of the 802.11n spec for details. Signed-off-by: Ben Greear <redacted> --- v2: Fix title per suggestion. :100644 100644 c5f3417... 3110cbd... M net/mac80211/debugfs_sta.c net/mac80211/debugfs_sta.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/mac80211/debugfs_sta.c b/net/mac80211/debugfs_sta.c
index c5f3417..3110cbd 100644
--- a/net/mac80211/debugfs_sta.c
+++ b/net/mac80211/debugfs_sta.c@@ -274,9 +274,9 @@ static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf, PRINT_HT_CAP((htc->cap & BIT(10)), "HT Delayed Block Ack"); - PRINT_HT_CAP((htc->cap & BIT(11)), "Max AMSDU length: " - "3839 bytes"); PRINT_HT_CAP(!(htc->cap & BIT(11)), "Max AMSDU length: " + "3839 bytes"); + PRINT_HT_CAP((htc->cap & BIT(11)), "Max AMSDU length: " "7935 bytes"); /*
--
1.7.3.4