Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 904603f9 authored by Ben Greear's avatar Ben Greear Committed by John W. Linville
Browse files

mac80211: Fix AMSDU rate printout in debugfs.



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

Signed-off-by: default avatarBen Greear <greearb@candelatech.com>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 2d161817
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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(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: "
		PRINT_HT_CAP(!(htc->cap & BIT(11)), "Max AMSDU length: "
			     "3839 bytes");
		PRINT_HT_CAP((htc->cap & BIT(11)), "Max AMSDU length: "
			     "7935 bytes");
			     "7935 bytes");


		/*
		/*