Bluetooth: Fix coding style (missing braces)
Change-Id: If96f4ce601499345e8e29143a03742594cac35af Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
7f6a66c04e
commit
764dd444e5
2 changed files with 4 additions and 2 deletions
|
@ -616,8 +616,9 @@ static void bt_att_disconnected(struct bt_conn *conn)
|
|||
{
|
||||
struct bt_att *att = conn->att;
|
||||
|
||||
if (!att)
|
||||
if (!att) {
|
||||
return;
|
||||
}
|
||||
|
||||
BT_DBG("conn %p handle %u\n", conn, conn->handle);
|
||||
|
||||
|
|
|
@ -515,8 +515,9 @@ static void bt_smp_disconnected(struct bt_conn *conn)
|
|||
{
|
||||
struct bt_smp *smp = conn->smp;
|
||||
|
||||
if (!smp)
|
||||
if (!smp) {
|
||||
return;
|
||||
}
|
||||
|
||||
BT_DBG("conn %p handle %u\n", conn, conn->handle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue