projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c755ad3
)
mac80211: make debugfs mcs set entry reflect 16 bits
author
Luis R. Rodriguez
<lrodriguez@atheros.com>
Mon, 7 Dec 2009 19:01:28 +0000
(14:01 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 22 Dec 2009 18:55:58 +0000
(13:55 -0500)
The MCS set is 16 bits so when debugging ensure the full 16 bits
are represented. Current reading would make you think its only
8 bits.
Cc: johannes@sipsolutions.net
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs_sta.c
patch
|
blob
|
history
diff --git
a/net/mac80211/debugfs_sta.c
b/net/mac80211/debugfs_sta.c
index 374ff6f98a9cf5c182c58c2b29e874f7a59d863e..9a1d1e40eca8988c05cfac570d64b97cb929ea54 100644
(file)
--- a/
net/mac80211/debugfs_sta.c
+++ b/
net/mac80211/debugfs_sta.c
@@
-168,7
+168,7
@@
static ssize_t sta_ht_capa_read(struct file *file, char __user *userbuf,
p += scnprintf(p, sizeof(buf) + buf - p, "ht %ssupported\n",
htc->ht_supported ? "" : "not ");
if (htc->ht_supported) {
- p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.
2
x\n", htc->cap);
+ p += scnprintf(p, sizeof(buf)+buf-p, "cap: %#.
4
x\n", htc->cap);
p += scnprintf(p, sizeof(buf)+buf-p, "ampdu factor/density: %d/%d\n",
htc->ampdu_factor, htc->ampdu_density);
p += scnprintf(p, sizeof(buf)+buf-p, "MCS mask:");