]> err.no Git - linux-2.6/commitdiff
[PATCH] mac80211: fix debugfs tx power reduction output
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 11 Jun 2007 06:07:13 +0000 (08:07 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Jun 2007 21:47:48 +0000 (17:47 -0400)
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>
net/mac80211/debugfs.c

index bb6c0feb2d48b3643098621bc879e6cd7981cede..476c8486f789819518ccdc47b7dfb3c6856f8397 100644 (file)
@@ -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>");