From: Johannes Berg Date: Mon, 11 Jun 2007 06:07:13 +0000 (+0200) Subject: [PATCH] mac80211: fix debugfs tx power reduction output X-Git-Tag: v2.6.22-rc5~39^2~7^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0107136c04290ddd765adc568fe7a335d355d17e;p=linux-2.6-omap-h63xx.git [PATCH] mac80211: fix debugfs tx power reduction output This patch fixes a typo in mac80211's debugfs.c. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c index bb6c0feb2d4..476c8486f78 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 : "");