diff options
Diffstat (limited to 'net/ieee802154/wpan-class.c')
-rw-r--r-- | net/ieee802154/wpan-class.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ieee802154/wpan-class.c b/net/ieee802154/wpan-class.c index 4dd37615a749..8d6f6704da84 100644 --- a/net/ieee802154/wpan-class.c +++ b/net/ieee802154/wpan-class.c | |||
@@ -44,9 +44,7 @@ static DEVICE_ATTR_RO(name); | |||
44 | 44 | ||
45 | MASTER_SHOW(current_channel, "%d"); | 45 | MASTER_SHOW(current_channel, "%d"); |
46 | MASTER_SHOW(current_page, "%d"); | 46 | MASTER_SHOW(current_page, "%d"); |
47 | MASTER_SHOW_COMPLEX(transmit_power, "%d +- %d dB", | 47 | MASTER_SHOW(transmit_power, "%d +- 1 dB"); |
48 | ((signed char) (phy->transmit_power << 2)) >> 2, | ||
49 | (phy->transmit_power >> 6) ? (phy->transmit_power >> 6) * 3 : 1); | ||
50 | MASTER_SHOW(cca_mode, "%d"); | 48 | MASTER_SHOW(cca_mode, "%d"); |
51 | 49 | ||
52 | static ssize_t channels_supported_show(struct device *dev, | 50 | static ssize_t channels_supported_show(struct device *dev, |