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

Commit 2ea40cec authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Use proper types tPAN_ROLE

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

Change-Id: I72e6b1870d30b4ca976331cbea0e6f6ac2ae8b64
parent 4c715a22
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;

  /*