Bluetooth: Fix minor coding style issues

Change-Id: I0e78bce8cdbf46252f4cfc4483995ba7583915f7
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2015-06-18 12:51:27 +03:00 committed by Anas Nashif
commit fa1bf41477
3 changed files with 4 additions and 4 deletions

View file

@ -1369,7 +1369,8 @@ int bt_hci_le_conn_update(uint16_t handle, uint16_t min, uint16_t max,
struct hci_cp_le_conn_update *conn_update;
struct bt_buf *buf;
buf = bt_hci_cmd_create(BT_HCI_OP_LE_CONN_UPDATE, sizeof(*conn_update));
buf = bt_hci_cmd_create(BT_HCI_OP_LE_CONN_UPDATE,
sizeof(*conn_update));
if (!buf) {
return -ENOBUFS;
}

View file

@ -158,4 +158,3 @@ const char *bt_addr_le_str(const bt_addr_le_t *addr);
int bt_hci_le_conn_update(uint16_t handle, uint16_t min, uint16_t max,
uint16_t latency, uint16_t timeout);

View file

@ -169,8 +169,8 @@ static void le_conn_param_rsp(struct bt_conn *conn, struct bt_buf *buf)
BT_DBG("LE conn param rsp result %u\n", sys_le16_to_cpu(rsp->result));
}
static uint16_t le_validate_conn_params(uint16_t min, uint16_t max, uint16_t latency,
uint16_t timeout)
static uint16_t le_validate_conn_params(uint16_t min, uint16_t max,
uint16_t latency, uint16_t timeout)
{
uint16_t max_latency;