diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-05-17 15:44:39 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-05-19 05:44:41 -0400 |
commit | 1a19cb680be0d4b06ce9a9d6516b8f45f544d3e8 (patch) | |
tree | b61fa7ac0d60156c831c674ed0b0c3adf67e1be0 /net/mac802154 | |
parent | 673692faf3fb42ec73ef7210238b5869d6e2873d (diff) |
ieee802154: change transmit power to s32
This patch change the transmit power from s8 to s32. This prepares to store a
mbm value instead dbm inside the transmit power variable. The old
interface keep the a s8 dbm value, which should be backward compatibility
when assign s8 to s32.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/driver-ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/driver-ops.h b/net/mac802154/driver-ops.h index a0533357b9ea..57c1bdbfaa91 100644 --- a/net/mac802154/driver-ops.h +++ b/net/mac802154/driver-ops.h | |||
@@ -58,7 +58,7 @@ drv_set_channel(struct ieee802154_local *local, u8 page, u8 channel) | |||
58 | return local->ops->set_channel(&local->hw, page, channel); | 58 | return local->ops->set_channel(&local->hw, page, channel); |
59 | } | 59 | } |
60 | 60 | ||
61 | static inline int drv_set_tx_power(struct ieee802154_local *local, s8 dbm) | 61 | static inline int drv_set_tx_power(struct ieee802154_local *local, s32 dbm) |
62 | { | 62 | { |
63 | might_sleep(); | 63 | might_sleep(); |
64 | 64 | ||