Re: [PATCH] monitor: Fix LE Read Transmit Power Command deconding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, 15 February 2019 13:58:28 CET Szymon Janc wrote:
> Min and max TX power are signed intergers.
> ---
>  monitor/bt.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/monitor/bt.h b/monitor/bt.h
> index ec62864d6..1fbb40efc 100644
> --- 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

Applied.

-- 
pozdrawiam
Szymon Janc





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux