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

Commit 1de74239 authored by Jacob Lee's avatar Jacob Lee Committed by Andre Eisenbach
Browse files

LE Multi-Advertising State Change Sub-event Wrong Variable Type

Wrong connection handle type in multi-adv event parsing,
causing random address (confirm value) mismatch and pairing failure.

Bug id: 23201007

Change-Id: I13ce231360937e711f61eb0777805b07bcde7074
parent cb40feb8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -753,7 +753,8 @@ tBTM_STATUS BTM_BleDisableAdvInstance (UINT8 inst_id)
void btm_ble_multi_adv_vse_cback(UINT8 len, UINT8 *p)
void btm_ble_multi_adv_vse_cback(UINT8 len, UINT8 *p)
{
{
    UINT8   sub_event;
    UINT8   sub_event;
    UINT8   adv_inst, conn_handle, idx;
    UINT8   adv_inst, idx;
    UINT16  conn_handle;


    /* Check if this is a BLE RSSI vendor specific event */
    /* Check if this is a BLE RSSI vendor specific event */
    STREAM_TO_UINT8(sub_event, p);
    STREAM_TO_UINT8(sub_event, p);