Searched refs:btpan_role (Results 1 – 1 of 1) sorted by relevance
183 int btpan_role = 0; in bta_role_to_btpan() local185 if (bta_pan_role & PAN_ROLE_NAP_SERVER) btpan_role |= BTPAN_ROLE_PANNAP; in bta_role_to_btpan()186 if (bta_pan_role & PAN_ROLE_CLIENT) btpan_role |= BTPAN_ROLE_PANU; in bta_role_to_btpan()187 return btpan_role; in bta_role_to_btpan()190 static inline int btpan_role_to_bta(int btpan_role) { in btpan_role_to_bta() argument192 BTIF_TRACE_DEBUG("btpan_role:0x%x", btpan_role); in btpan_role_to_bta()193 if (btpan_role & BTPAN_ROLE_PANNAP) bta_pan_role |= PAN_ROLE_NAP_SERVER; in btpan_role_to_bta()194 if (btpan_role & BTPAN_ROLE_PANU) bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()586 int btpan_role = bta_role_to_btpan(p_data->set_role.role); in bta_pan_callback_transfer() local591 btpan_role == 0 ? BTPAN_STATE_DISABLED : BTPAN_STATE_ENABLED; in bta_pan_callback_transfer()[all …]