* [PATCH] mac80211: fix debugfs tx power reduction output
@ 2007-06-11 6:07 Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2007-06-11 6:07 UTC (permalink / raw)
To: linux-wireless; +Cc: John W. Linville
This patch fixes a typo in mac80211's debugfs.c.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
--- wireless-dev.orig/net/mac80211/debugfs.c 2007-06-09 14:58:38.521881735 +0200
+++ wireless-dev/net/mac80211/debugfs.c 2007-06-09 14:58:42.761881735 +0200
@@ -126,7 +126,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_READ(rate_ctrl_alg, 100, "%s",
local->rate_ctrl ? local->rate_ctrl->ops->name : "<unset>");
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] mac80211: fix debugfs tx power reduction output
2007-06-12 1:17 ` [PATCH] cfg80211: fix signed macaddress in sysfs John W. Linville
@ 2007-06-12 1:18 ` John W. Linville
0 siblings, 0 replies; 2+ messages in thread
From: John W. Linville @ 2007-06-12 1:18 UTC (permalink / raw)
To: davem; +Cc: linux-wireless, netdev
From: Johannes Berg <johannes@sipsolutions.net>
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 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/mac80211/debugfs.c b/net/mac80211/debugfs.c
index bb6c0fe..476c848 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>");
--
1.5.0.6
--
John W. Linville
linville@tuxdriver.com
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-06-12 1:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-11 6:07 [PATCH] mac80211: fix debugfs tx power reduction output Johannes Berg
-- strict thread matches above, loose matches on Subject: below --
2007-06-12 1:16 mac80211 fixes for 2.6.22 John W. Linville
2007-06-12 1:17 ` [PATCH] cfg80211: fix signed macaddress in sysfs John W. Linville
2007-06-12 1:18 ` [PATCH] mac80211: fix debugfs tx power reduction output John W. Linville
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox