Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
/*******************************************************************************
*
......
......@@ -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;
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment