Searched refs:btpan_role (Results 1 – 1 of 1) sorted by relevance
177 int btpan_role = 0; in bta_role_to_btpan() local178 if (bta_pan_role & PAN_ROLE_NAP_SERVER) btpan_role |= BTPAN_ROLE_PANNAP; in bta_role_to_btpan()179 if (bta_pan_role & PAN_ROLE_CLIENT) btpan_role |= BTPAN_ROLE_PANU; in bta_role_to_btpan()180 return btpan_role; in bta_role_to_btpan()183 static inline tBTA_PAN_ROLE btpan_role_to_bta(int btpan_role) { in btpan_role_to_bta() argument185 if (btpan_role & BTPAN_ROLE_PANNAP) bta_pan_role |= PAN_ROLE_NAP_SERVER; in btpan_role_to_bta()186 if (btpan_role & BTPAN_ROLE_PANU) bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()568 int btpan_role = bta_role_to_btpan(p_data->set_role.role); in bta_pan_callback_transfer() local572 btpan_role == 0 ? BTPAN_STATE_DISABLED : BTPAN_STATE_ENABLED; in bta_pan_callback_transfer()573 callback.control_state_cb(state, btpan_role, status, TAP_IF_NAME); in bta_pan_callback_transfer()