diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-01-13 17:29:53 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-01-13 17:29:53 +0200 |
commit | bcb6af7fc78234948ba1c997825c8859464b170b (patch) | |
tree | 319c58e814e656ddf7336b6404e1f90103acaf96 /src/device.h | |
parent | 42e279efa41a0db453d9bc5405f3d713bd9937f2 (diff) |
Don't do reverse SDP for renewed link keys
Add a flag for a renewed link key to the device struct so that when we
get authentication complete we don't do reverse SDP or
PropertyChanged(Paired, true) if a new bonding isn't being created.
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h index 2b2735c0..bc28755f 100644 --- a/src/device.h +++ b/src/device.h @@ -68,6 +68,7 @@ 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); 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, uint16_t handle); void device_remove_connection(struct btd_device *device, DBusConnection *conn, |