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

Commit c5f935be authored by Zach Johnson's avatar Zach Johnson
Browse files

no need to set layer specific for discovery

it was used to distinguish DI discovery from normal

DI wasn't used and is now gone

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I812d20a1e1d310ce09420d4f7f282bff0d352c26
parent 54cc4be2
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1251,7 +1251,6 @@ void bta_dm_disc_result(tBTA_DM_MSG* p_data) {

  /* send a message to change state */
  p_msg->hdr.event = BTA_DM_SEARCH_CMPL_EVT;
  p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT;
  bta_sys_sendmsg(p_msg);
}

@@ -1528,8 +1527,6 @@ static void bta_dm_discover_next_device(void) {
    bta_dm_search_cb.services = 0;

    p_msg->hdr.event = BTA_DM_SEARCH_CMPL_EVT;
    p_msg->hdr.layer_specific = BTA_DM_API_DISCOVER_EVT;

    bta_sys_sendmsg(p_msg);
  }
}