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

Commit bcce97b9 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

legacy: Use proper types tPAN_ROLE am: 2ea40cec

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1870002

Change-Id: I28f432f787d317d10325c02b2eca153ba7141d76
parents 355ff426 2ea40cec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -322,8 +322,8 @@ extern tPAN_RESULT PAN_SetRole(uint8_t role, const char* p_user_name,
 *                                     allowed at that point of time
 *
 ******************************************************************************/
extern tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role,
                               uint8_t dst_role, uint16_t* handle);
extern tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, tPAN_ROLE src_role,
                               tPAN_ROLE dst_role, uint16_t* handle);

/*******************************************************************************
 *
+2 −2
Original line number Diff line number Diff line
@@ -222,8 +222,8 @@ tPAN_RESULT PAN_SetRole(uint8_t role, const char* p_user_name,
 *                                     allowed at that point of time
 *
 ******************************************************************************/
tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, uint8_t src_role,
                        uint8_t dst_role, uint16_t* handle) {
tPAN_RESULT PAN_Connect(const RawAddress& rem_bda, tPAN_ROLE src_role,
                        tPAN_ROLE dst_role, uint16_t* handle) {
  uint32_t mx_chan_id;

  /*