am 59a88ec2: Bluetooth: Handle missing key event
* commit '59a88ec207ead601c7ba5e767fd1373c7f2df70b':
Bluetooth: Handle missing key event
diff --git a/btif/src/btif_dm.c b/btif/src/btif_dm.c
index 9f1caef..6da71e9 100644
--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -896,6 +896,7 @@
/* map the auth failure codes, so we can retry pairing if necessary */
case HCI_ERR_AUTH_FAILURE:
+ case HCI_ERR_KEY_MISSING:
btif_storage_remove_bonded_device(&bd_addr);
case HCI_ERR_HOST_REJECT_SECURITY:
case HCI_ERR_ENCRY_MODE_NOT_ACCEPTABLE: