mac802154: fix transmission power datatype
Netlink attribute for the power is s8. But for the driver level operations we are collection power level value into integer. It has to be change to s8 from int. Signed-off-by: Varka Bhadram <varkab@cdac.in> Acked-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:

committed by
Marcel Holtmann

parent
ccd6da2ab8
commit
23310f6f3a
@@ -1173,7 +1173,7 @@ at86rf230_set_hw_addr_filt(struct ieee802154_hw *hw,
|
||||
}
|
||||
|
||||
static int
|
||||
at86rf230_set_txpower(struct ieee802154_hw *hw, int db)
|
||||
at86rf230_set_txpower(struct ieee802154_hw *hw, s8 db)
|
||||
{
|
||||
struct at86rf230_local *lp = hw->priv;
|
||||
|
||||
|
Reference in New Issue
Block a user