diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-10-16 14:57:41 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2016-10-21 07:47:31 +0300 |
commit | 485d0264fd18b2a4009a31952be55d06723b9495 (patch) | |
tree | f3d07b7a3c4094ab41ebf5d2f8d47d945d31eb29 /net | |
parent | ee9f5c178453190a323e510face60085cf32ccfa (diff) |
Bluetooth: GATT: Fix code style
Change-Id: Ia96c0498c1833f19d9252e2b782f87a26137e973
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/gatt.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/bluetooth/gatt.c b/net/bluetooth/gatt.c index 39a551520..5daf9342e 100644 --- a/net/bluetooth/gatt.c +++ b/net/bluetooth/gatt.c @@ -1203,10 +1203,11 @@ static int att_read_type(struct bt_conn *conn, req->start_handle = sys_cpu_to_le16(params->start_handle); req->end_handle = sys_cpu_to_le16(params->end_handle); - if (params->type == BT_GATT_DISCOVER_INCLUDE) + if (params->type == BT_GATT_DISCOVER_INCLUDE) { net_buf_add_le16(buf, BT_UUID_GATT_INCLUDE_VAL); - else + } else { net_buf_add_le16(buf, BT_UUID_GATT_CHRC_VAL); + } BT_DBG("start_handle 0x%04x end_handle 0x%04x", params->start_handle, params->end_handle); |