diff options
Diffstat (limited to 'src/adapter.c')
-rw-r--r-- | src/adapter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adapter.c b/src/adapter.c index ca41be7f..3239e9a1 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -2683,7 +2683,7 @@ void adapter_remove_connection(struct btd_adapter *adapter, hci_req_queue_remove(adapter->dev_id, &bdaddr); if (device_is_authenticating(device)) - device_cancel_authentication(device); + device_cancel_authentication(device, TRUE); if (device_is_temporary(device)) { const char *path = device_get_path(device); |