summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-06-11 08:07:13 +0200
committerJohn W. Linville <linville@tuxdriver.com>2007-06-11 17:47:48 -0400
commit0107136c04290ddd765adc568fe7a335d355d17e (patch)
tree95e5c84afa84ce79ebd81a96e7f22c06e63399b1 /net/mac80211
parentc9aca9da026036306aa00a928f6acb4b94eb3c33 (diff)
downloadlinux-0107136c04290ddd765adc568fe7a335d355d17e.tar.gz
linux-0107136c04290ddd765adc568fe7a335d355d17e.tar.bz2
linux-0107136c04290ddd765adc568fe7a335d355d17e.zip
[PATCH] mac80211: fix debugfs tx power reduction output
This patch fixes a typo in mac80211's debugfs.c. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index bb6c0feb2d48..476c8486f789 100644
--- a/net/mac80211/debugfs.c
+++ b/net/mac80211/debugfs.c
@@ -112,7 +112,7 @@ DEBUGFS_READONLY_FILE(wep_iv, 20, "%#06x",
local->wep_iv & 0xffffff);
DEBUGFS_READONLY_FILE(tx_power_reduction, 20, "%d.%d dBm",
local->hw.conf.tx_power_reduction / 10,
- local->hw.conf.tx_power_reduction & 10);
+ local->hw.conf.tx_power_reduction % 10);
DEBUGFS_READONLY_FILE(rate_ctrl_alg, 100, "%s",
local->rate_ctrl ? local->rate_ctrl->ops->name : "<unset>");