Bluetooth: Fix trivial coding style issue

Change-Id: I8a50fb6fe46d7a7deb6538f6a23bf5e58db2d52d
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2017-01-30 17:19:30 +02:00
commit f23acadffe

View file

@ -1152,8 +1152,9 @@ void bt_conn_set_state(struct bt_conn *conn, bt_conn_state_t state)
}
/* Cancel Connection Update if it is pending */
if (conn->type == BT_CONN_TYPE_LE)
if (conn->type == BT_CONN_TYPE_LE) {
k_delayed_work_cancel(&conn->le.update_work);
}
/* Release the reference we took for the very first
* state transition.