diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2009-02-12 14:52:36 +0100 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2009-02-12 14:52:36 +0100 | 
| commit | b8b9a246a0841eb3f00c1b36ce4d6facbaa96ed8 (patch) | |
| tree | 45e346e39788a782124048969f74ce5a79936b73 | |
| parent | 3de95535af491d02f67b3bba7d1da5ad7c6dbeea (diff) | |
Reset authentication requirements after simple pairing complete
| -rw-r--r-- | src/device.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/device.c b/src/device.c index 434ca3e1..5916d78a 100644 --- a/src/device.c +++ b/src/device.c @@ -1841,6 +1841,8 @@ 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) @@ -1893,7 +1895,6 @@ void device_bonding_complete(struct btd_device *device, uint8_t status)  	return;  failed: -  	device_cancel_bonding(device, status);  } | 
