mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
673692faf3
commit
1a19cb680b
5 changed files with 7 additions and 7 deletions
|
|
@ -58,7 +58,7 @@ drv_set_channel(struct ieee802154_local *local, u8 page, u8 channel)
|
|||
return local->ops->set_channel(&local->hw, page, channel);
|
||||
}
|
||||
|
||||
static inline int drv_set_tx_power(struct ieee802154_local *local, s8 dbm)
|
||||
static inline int drv_set_tx_power(struct ieee802154_local *local, s32 dbm)
|
||||
{
|
||||
might_sleep();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue