Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecfe5005 authored by Hemant Gupta's avatar Hemant Gupta Committed by Android Git Automerger
Browse files

am 47a2b592: GAP:Add authentication failed error code in auth_compl_evt.

* commit '47a2b592':
  GAP:Add authentication failed error code in auth_compl_evt.
parents d63ff484 47a2b592
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -898,6 +898,10 @@ static void btif_dm_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl)
                status = BT_STATUS_AUTH_REJECTED;
                break;

            case HCI_ERR_LMP_RESPONSE_TIMEOUT:
                status =  BT_STATUS_AUTH_FAILURE;
                break;

            /* map the auth failure codes, so we can retry pairing if necessary */
            case HCI_ERR_AUTH_FAILURE:
            case HCI_ERR_KEY_MISSING: