Skip to contentSkip to conversation

mac80211: fix debugfs tx power reduction output

PATCH New Johannes Berg 1 participant 1 message Jun 11, 2007 mac80211

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 mac80211: fix debugfs tx power reduction output

This patch fixes a typo in mac80211's debugfs.c.

net/mac80211/debugfs.c +1 -1
@@ -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>");