Home
last modified time | relevance | path

Searched refs:bta_pan_role (Results 1 – 1 of 1) sorted by relevance

/system/bt/btif/src/
Dbtif_pan.c193 static inline int bta_role_to_btpan(int bta_pan_role) in bta_role_to_btpan() argument
196 BTIF_TRACE_DEBUG("bta_pan_role:0x%x", bta_pan_role); in bta_role_to_btpan()
197 if (bta_pan_role & PAN_ROLE_NAP_SERVER) in bta_role_to_btpan()
199 if (bta_pan_role & PAN_ROLE_CLIENT) in bta_role_to_btpan()
206 int bta_pan_role = PAN_ROLE_INACTIVE; in btpan_role_to_bta() local
209 bta_pan_role |= PAN_ROLE_NAP_SERVER; in btpan_role_to_bta()
211 bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()
212 return bta_pan_role; in btpan_role_to_bta()
225 int bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable() local
226 BTA_PanSetRole(bta_pan_role, &bta_panu_info, NULL, &bta_pan_nap_info); in btpan_enable()