Bluetooth: Fix checkpatch error/warnings

Fixes some checkpatch's errors/warning in HCI stack code.

Change-Id: I105fb491b5509f72549ab788764b1386ce3af47f
Signed-off-by: Arkadiusz Lichwa <arkadiusz.lichwa@tieto.com>
This commit is contained in:
Arkadiusz Lichwa 2016-03-21 14:48:40 +01:00
commit 158cdbf91a
7 changed files with 12 additions and 11 deletions

View file

@ -932,6 +932,7 @@ static int ssp_passkey_neg_reply(struct bt_conn *conn)
static void timeout_fiber(int arg1, int arg2)
{
struct bt_conn *conn = (struct bt_conn *)arg1;
ARG_UNUSED(arg2);
conn->timeout = NULL;

View file

@ -596,6 +596,7 @@ static void smp_reset(struct bt_smp *smp)
static void smp_timeout(int arg1, int arg2)
{
struct bt_smp *smp = (struct bt_smp *)arg1;
ARG_UNUSED(arg2);
BT_ERR("SMP Timeout");
@ -1182,7 +1183,6 @@ static uint8_t smp_encrypt_info(struct bt_smp *smp, struct net_buf *buf)
memcpy(keys->ltk.val, req->ltk, 16);
}
atomic_set_bit(&smp->allowed_cmds, BT_SMP_CMD_MASTER_IDENT);
return 0;