Searched refs:curr_state (Results 1 - 2 of 2) sorted by relevance

/system/bt/stack/smp/
H A Dsmp_br_main.c335 tSMP_BR_STATE curr_state = p_cb->br_state; local
341 if (curr_state >= SMP_BR_STATE_MAX)
343 SMP_TRACE_DEBUG( "Invalid br_state: %d", curr_state) ;
353 /* lookup entry / w event & curr_state */
355 * Otherwise, get state table (according to curr_state or all_state) */
356 if ((event <= SMP_BR_MAX_EVT) && ( (entry = entry_table[event - 1][curr_state])
366 state_table = smp_br_state_table[curr_state][p_cb->role];
373 smp_get_br_state_name(curr_state), curr_state);
H A Dsmp_main.c770 UINT8 curr_state = p_cb->state; local
776 if (curr_state >= SMP_STATE_MAX)
778 SMP_TRACE_DEBUG( "Invalid state: %d", curr_state) ;
787 /* lookup entry /w event & curr_state */
789 * Otherwise, get state table (according to curr_state or all_state) */
790 if ((event <= SMP_MAX_EVT) && ( (entry = entry_table[event - 1][curr_state]) != SMP_SM_IGNORE ))
798 state_table = smp_state_table[curr_state][p_cb->role];
803 smp_get_event_name(event), event, smp_get_state_name(curr_state),
804 curr_state);

Completed in 106 milliseconds