Skip to contentSkip to conversation

mac80211: Fix AMSDU rate printout in debugfs.

PATCH New [email protected] 1 participant 1 message Nov 17, 2011 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mac80211: Fix AMSDU rate printout in debugfs.

From: Ben Greear <[email protected]>

It was flipped. See section 7.3.2.56 of the 802.11n spec for details.

---

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(-)
net/mac80211/debugfs_sta.c +2 -2
index c5f3417..3110cbd 100644
@@ -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");
 
 		/*
Signature · 1 line
1.7.3.4