diff options
author | Ben Greear <greearb@candelatech.com> | 2011-11-17 14:53:36 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-21 14:45:19 -0500 |
commit | 904603f9b78f94d5a5fe29cf2f9694ef7f6f4420 (patch) | |
tree | 814274866bbc281a9e90a16ffa49b8b02e8038fe /net/mac80211/debugfs_sta.c | |
parent | 2d1618170eb493d18f66f2ac03775409a6fb97c6 (diff) | |
download | blackbird-op-linux-904603f9b78f94d5a5fe29cf2f9694ef7f6f4420.tar.gz blackbird-op-linux-904603f9b78f94d5a5fe29cf2f9694ef7f6f4420.zip |
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: Ben Greear <greearb@candelatech.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
-rw-r--r-- | 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 c5f341798c16..3110cbdc501b 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"); /* |