Bluetooth: att: Fix minor coding style issues
Change-Id: I36019a726187363e41ab72d9a26b2b8ae5c7f4bb Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
9a52d396da
commit
d87232b2a1
1 changed files with 4 additions and 1 deletions
|
@ -244,6 +244,7 @@ static bool range_is_valid(uint16_t start, uint16_t end, uint16_t *err)
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct find_info_data {
|
struct find_info_data {
|
||||||
struct bt_conn *conn;
|
struct bt_conn *conn;
|
||||||
struct bt_buf *buf;
|
struct bt_buf *buf;
|
||||||
|
@ -725,6 +726,7 @@ static uint8_t att_read_rsp(struct bt_conn *conn, uint8_t op, uint8_t rsp,
|
||||||
}
|
}
|
||||||
|
|
||||||
bt_l2cap_send(conn, BT_L2CAP_CID_ATT, data.buf);
|
bt_l2cap_send(conn, BT_L2CAP_CID_ATT, data.buf);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1297,8 +1299,9 @@ static void bt_att_recv(struct bt_conn *conn, struct bt_buf *buf)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Commands don't have response */
|
/* Commands don't have response */
|
||||||
if ((hdr->code & BT_ATT_OP_CMD_MASK))
|
if ((hdr->code & BT_ATT_OP_CMD_MASK)) {
|
||||||
goto done;
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
if (err) {
|
if (err) {
|
||||||
BT_DBG("ATT error 0x%02x", err);
|
BT_DBG("ATT error 0x%02x", err);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue