DO NOT MERGE Fix PAN control callback definition to match what bluedroid is doing.
There's a discrepancy in the order of arguments between the interface and the implementation. bluedroid swaps the |error| and |local_role| arguments when calling back so this change redefines the interface for consistency. http://b/12853951 Change-Id: I0ccfc6d6d2002d647d484ab7f53744863b569502
This commit is contained in:
parent
4d7ac52d75
commit
40208a8b2b
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ typedef enum {
|
||||||
*/
|
*/
|
||||||
typedef void (*btpan_connection_state_callback)(btpan_connection_state_t state, bt_status_t error,
|
typedef void (*btpan_connection_state_callback)(btpan_connection_state_t state, bt_status_t error,
|
||||||
const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
|
const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
|
||||||
typedef void (*btpan_control_state_callback)(btpan_control_state_t state, bt_status_t error,
|
typedef void (*btpan_control_state_callback)(btpan_control_state_t state, int local_role,
|
||||||
int local_role, const char* ifname);
|
bt_status_t error, const char* ifname);
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
Loading…
Reference in a new issue