diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2009-02-12 15:55:38 +0100 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2009-02-12 15:55:38 +0100 | 
| commit | f8c2a96432a78aab515e7b4f3cd044f53946d908 (patch) | |
| tree | f4f40c05a77f51fd323284c7d529fc7140b596bd | |
| parent | b8b9a246a0841eb3f00c1b36ce4d6facbaa96ed8 (diff) | |
Reset the authentication requirements after bonding complete
| -rw-r--r-- | src/device.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/src/device.c b/src/device.c index 5916d78a..50e8a5e8 100644 --- a/src/device.c +++ b/src/device.c @@ -1841,8 +1841,6 @@ void device_simple_pairing_complete(struct btd_device *device, uint8_t status)  	if (auth && auth->type == AUTH_TYPE_NOTIFY && auth->agent)  		agent_cancel(auth->agent); - -	device->auth = 0xff;  }  void device_bonding_complete(struct btd_device *device, uint8_t status) @@ -1856,6 +1854,7 @@ void device_bonding_complete(struct btd_device *device, uint8_t status)  	if (status)  		goto failed; +	device->auth = 0xff;  	device->temporary = FALSE;  	g_free(device->authr); | 
