Message ID | 20241002154034.3359675-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [v1] Bluetooth: ISO: Use disable_delayed_work_sync | expand |
diff --git a/net/bluetooth/iso.c b/net/bluetooth/iso.c index d5e00d0dd1a0..8908cf093032 100644 --- a/net/bluetooth/iso.c +++ b/net/bluetooth/iso.c @@ -223,7 +223,7 @@ static void iso_conn_del(struct hci_conn *hcon, int err) } /* Ensure no more work items will run before freeing conn. */ - cancel_delayed_work_sync(&conn->timeout_work); + disable_delayed_work_sync(&conn->timeout_work); hcon->iso_data = NULL; kfree(conn);