diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-03 11:18:22 -0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-03 11:20:01 -0800 |
commit | f7d1ee361e410e096929bd3918178af356c50bbd (patch) | |
tree | b6360e73aea8397c0e06120a2306c2bd7278d671 /src/device.h | |
parent | 38ca09be34dbb514fa1194b9a164d1b63a74069b (diff) |
Fix authentication replies when disconnected
This patch makes sure that we don't reply to the authentiction requests
if we get disconnected before authentication has completed.
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device.h b/src/device.h index f3a5cea0..6b750a82 100644 --- a/src/device.h +++ b/src/device.h @@ -68,7 +68,7 @@ gboolean device_is_bonding(struct btd_device *device, const char *sender); void device_cancel_bonding(struct btd_device *device, uint8_t status); int device_request_authentication(struct btd_device *device, auth_type_t type, uint32_t passkey, void *cb); -void device_cancel_authentication(struct btd_device *device); +void device_cancel_authentication(struct btd_device *device, gboolean aborted); gboolean device_is_authenticating(struct btd_device *device); void device_set_renewed_key(struct btd_device *device, gboolean renewed); void device_add_connection(struct btd_device *device, DBusConnection *conn, |