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

Commit 4d19af5a authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Andre Eisenbach
Browse files

Fix pointer type in BTA_DmBleCfgFilterCondition

p_cond_param->srvc_uuid is of type tBTA_DM_BLE_PF_UUID_COND

Bug: 33910711
Test: sl4a FilteringTest
Change-Id: I6b30e1e441f8256d8c8dbf593f746a3d7810eda6
parent 6c79df5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1227,7 +1227,7 @@ void BTA_DmBleCfgFilterCondition(tBTA_DM_BLE_SCAN_COND_OP action,
           p_cond->local_name.data_len);
  } else if (cond_type == BTM_BLE_PF_SRVC_UUID ||
             cond_type == BTM_BLE_PF_SRVC_SOL_UUID) {
    p += sizeof(tBTA_DM_BLE_PF_SRVC_PATTERN_COND);
    p += sizeof(tBTA_DM_BLE_PF_UUID_COND);
    if (p_cond->srvc_uuid.p_target_addr != NULL) {
      p_cond_param->srvc_uuid.p_target_addr = (tBLE_BD_ADDR*)(p);
      p_cond_param->srvc_uuid.p_target_addr->type =