From c1d1a419fabc69de87e64f5c76f31305c25ff5cb Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Fri, 15 Feb 2019 13:58:28 +0100 Subject: [PATCH] monitor: Fix LE Read Transmit Power Command deconding Min and max TX power are signed intergers. Change-Id: I09cedfce59a4519cce689ee4d69dd489fea01f74 Signed-off-by: himanshu --- monitor/bt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitor/bt.h b/monitor/bt.h index ec62864..1fbb40e 100755 --- a/monitor/bt.h +++ b/monitor/bt.h @@ -2359,8 +2359,8 @@ struct bt_hci_rsp_le_read_dev_periodic_adv_list_size { #define BT_HCI_CMD_LE_READ_TX_POWER 0x204b struct bt_hci_rsp_le_read_tx_power { uint8_t status; - uint8_t min_tx_power; - uint8_t max_tx_power; + int8_t min_tx_power; + int8_t max_tx_power; } __attribute__ ((packed)); #define BT_HCI_CMD_LE_READ_RF_PATH_COMPENSATION 0x204c -- 2.7.4