Searched refs:bta_pan_role (Results 1 – 1 of 1) sorted by relevance
190 static inline int bta_role_to_btpan(int bta_pan_role) in bta_role_to_btpan() argument193 BTIF_TRACE_DEBUG("bta_pan_role:0x%x", bta_pan_role); in bta_role_to_btpan()194 if (bta_pan_role & PAN_ROLE_NAP_SERVER) in bta_role_to_btpan()196 if (bta_pan_role & PAN_ROLE_CLIENT) in bta_role_to_btpan()203 int bta_pan_role = PAN_ROLE_INACTIVE; in btpan_role_to_bta() local206 bta_pan_role |= PAN_ROLE_NAP_SERVER; in btpan_role_to_bta()208 bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()209 return bta_pan_role; in btpan_role_to_bta()220 int bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable() local221 BTA_PanSetRole(bta_pan_role, &bta_panu_info, NULL, &bta_pan_nap_info); in btpan_enable()