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

Commit 198b69f5 authored by Chris Manton's avatar Chris Manton
Browse files

bta::ag::sdp_cback Use proper type tSDP_STATUS

Bug: 354043307
Test: m .
Flag: EXEMPT, Proper Data Type

Change-Id: I0059339045a1e397abffd17febbe58d05f15f325
parent de938ffa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@
#include "internal_include/bt_target.h"
#include "stack/include/bt_hdr.h"
#include "stack/include/btm_api_types.h"
#include "stack/include/sdp_status.h"
#include "stack/sdp/sdp_discovery_db.h"
#include "types/raw_address.h"

@@ -171,7 +172,7 @@ typedef struct {

/* data type for BTA_AG_DISC_RESULT_EVT */
typedef struct {
  uint16_t status;
  tSDP_STATUS status;
} tBTA_AG_DISC_RESULT;

/* data type for RFCOMM events */
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ const tBTA_AG_SDP_CBACK bta_ag_sdp_cback_tbl[] = {bta_ag_sdp_cback_1, bta_ag_sdp
 * Returns          void
 *
 ******************************************************************************/
static void bta_ag_sdp_cback(uint16_t status, uint8_t idx) {
static void bta_ag_sdp_cback(tSDP_STATUS status, uint8_t idx) {
  log::verbose("status:0x{:x}", status);
  tBTA_AG_SCB* p_scb = bta_ag_scb_by_idx(idx);
  if (p_scb) {