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

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

am d6915572: [2/2] Bluetooth: Security: Handle authentication rejected error status

* commit 'd6915572':
  [2/2] Bluetooth: Security: Handle authentication rejected error status
parents 64be003a d6915572
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -894,6 +894,10 @@ static void btif_dm_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl)
                status =  BT_STATUS_RMT_DEV_DOWN;
                break;

            case HCI_ERR_PAIRING_NOT_ALLOWED:
                status = BT_STATUS_AUTH_REJECTED;
                break;

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