Bluetooth: Fix coding style (missing braces)

Change-Id: If96f4ce601499345e8e29143a03742594cac35af
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2015-05-22 13:52:45 +03:00 committed by Anas Nashif
commit 764dd444e5
2 changed files with 4 additions and 2 deletions

View file

@ -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);

View file

@ -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);