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

Commit 0f3e59df authored by Andre Eisenbach's avatar Andre Eisenbach
Browse files

Fix compilation on some platforms with LE disabled

Change-Id: Iabbb20b111beaaaef8a465f6917b4286e1b93972
parent 954a2497
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -804,6 +804,7 @@ void BTA_DmBlePasskeyReply(BD_ADDR bd_addr, BOOLEAN accept, UINT32 passkey)
*******************************************************************************/
void BTA_DmBleConfirmReply(BD_ADDR bd_addr, BOOLEAN accept)
{
#if BLE_INCLUDED == TRUE
    tBTA_DM_API_CONFIRM *p_msg = (tBTA_DM_API_CONFIRM *)GKI_getbuf(sizeof(tBTA_DM_API_CONFIRM));
    if (p_msg != NULL)
    {
@@ -813,6 +814,7 @@ void BTA_DmBleConfirmReply(BD_ADDR bd_addr, BOOLEAN accept)
        p_msg->accept = accept;
        bta_sys_sendmsg(p_msg);
    }
#endif
}

/*******************************************************************************
+1 −3
Original line number Diff line number Diff line
@@ -761,10 +761,8 @@ typedef struct
    UINT8           key_type;           /* The type of Link Key */
    BOOLEAN         success;            /* TRUE of authentication succeeded, FALSE if failed. */
    UINT8           fail_reason;        /* The HCI reason/error code for when success=FALSE */
#if BLE_INCLUDED == TRUE && SMP_INCLUDED == TRUE
    tBLE_ADDR_TYPE  addr_type;      /* peer device address type */
    tBLE_ADDR_TYPE  addr_type;          /* Peer device address type */
    tBT_DEVICE_TYPE dev_type;
#endif
} tBTA_DM_AUTH_CMPL;