Bluetooth: Fix trivial coding style issue
Change-Id: I8a50fb6fe46d7a7deb6538f6a23bf5e58db2d52d Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
fd74c0c5a6
commit
f23acadffe
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue