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

Commit ca38112b authored by Chris Manton's avatar Chris Manton
Browse files

Use proper types tBTA_DM_SDP_RESULT::tSDP_RESULT

Bug: 227293046
Tag: #refactor
Test: gd/cert/run

Change-Id: Id25b8ad6ac913470d8ea8a3d87363f0f3f421615
parent 547c294e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1793,7 +1793,7 @@ static void bta_dm_sdp_callback(tSDP_STATUS sdp_status) {
      (tBTA_DM_SDP_RESULT*)osi_malloc(sizeof(tBTA_DM_SDP_RESULT));

  p_msg->hdr.event = BTA_DM_SDP_RESULT_EVT;
  p_msg->sdp_result = static_cast<uint16_t>(sdp_status);
  p_msg->sdp_result = sdp_status;

  bta_sys_sendmsg(p_msg);
}
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ typedef struct {
/* data type for BTA_DM_SDP_RESULT_EVT */
typedef struct {
  BT_HDR_RIGID hdr;
  uint16_t sdp_result;
  tSDP_RESULT sdp_result;
} tBTA_DM_SDP_RESULT;

typedef struct {