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

Commit 47a2b592 authored by Hemant Gupta's avatar Hemant Gupta
Browse files

GAP:Add authentication failed error code in auth_compl_evt.

There is an unhandle failed HCI error code when pairing with
symbian OS phone nokia n95 which will cause no prompt when
auth failed.

Change-Id: I3a37c7732d1bf71c090bb968380d8c5f0af2ff79
parent d6915572
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line 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;
                status = BT_STATUS_AUTH_REJECTED;
                break;
                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 */
            /* map the auth failure codes, so we can retry pairing if necessary */
            case HCI_ERR_AUTH_FAILURE:
            case HCI_ERR_AUTH_FAILURE:
            case HCI_ERR_KEY_MISSING:
            case HCI_ERR_KEY_MISSING: