Diff between 1e78da0ef99e668bacf1500d6a13c82e12e68d00 and 3bcea1a15207016f6c85ac713e8a7cda51951017

Changed Files

File Additions Deletions Status
src/device.c +1 -2 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index 61c25f4..1ee747e 100644
--- a/src/device.c
+++ b/src/device.c
@@ -3478,8 +3478,7 @@ void device_bonding_complete(struct btd_device *device, uint8_t status)
 
 	DBG("bonding %p status 0x%02x", bonding, status);
 
-	if (auth && (auth->type == AUTH_TYPE_NOTIFY_PASSKEY
-		     || auth->type == AUTH_TYPE_NOTIFY_PINCODE) && auth->agent)
+	if (auth && auth->agent)
 		agent_cancel(auth->agent);
 
 	if (status) {