Bluetooth: Replace fiber_fiber_ with fiber_
We use fiber_delayed_start() for starting delayed fiber. Make use of fiber_delayed_start_cancel() instead of fiber_fiber_delayed_start_cancel(). Change-Id: I2399290496ed2a2b21b2a780d884881839f36767 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
c8dbc71552
commit
cc7349b2d8
1 changed files with 2 additions and 2 deletions
|
@ -606,7 +606,7 @@ void bt_conn_set_state(struct bt_conn *conn, bt_conn_state_t state)
|
||||||
break;
|
break;
|
||||||
case BT_CONN_CONNECT:
|
case BT_CONN_CONNECT:
|
||||||
if (conn->timeout) {
|
if (conn->timeout) {
|
||||||
fiber_fiber_delayed_start_cancel(conn->timeout);
|
fiber_delayed_start_cancel(conn->timeout);
|
||||||
conn->timeout = NULL;
|
conn->timeout = NULL;
|
||||||
|
|
||||||
/* Drop the reference taken by timeout fiber */
|
/* Drop the reference taken by timeout fiber */
|
||||||
|
@ -810,7 +810,7 @@ static int bt_hci_connect_le_cancel(struct bt_conn *conn)
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (conn->timeout) {
|
if (conn->timeout) {
|
||||||
fiber_fiber_delayed_start_cancel(conn->timeout);
|
fiber_delayed_start_cancel(conn->timeout);
|
||||||
conn->timeout = NULL;
|
conn->timeout = NULL;
|
||||||
|
|
||||||
/* Drop the reference took by timeout fiber */
|
/* Drop the reference took by timeout fiber */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue