This patch fix the updated register settings for transmit power. As per the datasheet [section 28.1 Register Settings Update] the transmit power register value has to be updated to 0x32 (0 dBm) from the default value. CC2520_TXPOWER_4 indicates the value 0x32 (0 dBm). Signed-off-by: Varka Bhadram <varkab@xxxxxxx> --- drivers/net/ieee802154/cc2520.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c index f96cc50..d9135ec 100644 --- a/drivers/net/ieee802154/cc2520.c +++ b/drivers/net/ieee802154/cc2520.c @@ -860,7 +860,8 @@ static int cc2520_hw_init(struct cc2520_private *priv) if (ret) goto err_ret; } else { - ret = cc2520_write_register(priv, CC2520_TXPOWER, 0xF7); + ret = cc2520_write_register(priv, CC2520_TXPOWER, + CC2520_TXPOWER_4); if (ret) goto err_ret; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html