Lines Matching refs:ch_state
109 if (!avct_l2c_is_passive(p_lcb) || (p_lcb->ch_state == AVCT_CH_OPEN)) { in avct_l2c_connect_ind_cback()
123 lcid, result, p_lcb->ch_state); in avct_l2c_connect_ind_cback()
137 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_ind_cback()
140 if (p_lcb) AVCT_TRACE_DEBUG("ch_state cni: %d ", p_lcb->ch_state); in avct_l2c_connect_ind_cback()
146 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_on_l2cap_error()
156 } else if (p_lcb->ch_state == AVCT_CH_CFG) { in avct_on_l2cap_error()
158 p_lcb->ch_state); in avct_on_l2cap_error()
186 lcid, result, p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback()
188 if (p_lcb->ch_state == AVCT_CH_CONN) { in avct_l2c_connect_cfm_cback()
192 p_lcb->ch_state = AVCT_CH_CFG; in avct_l2c_connect_cfm_cback()
202 p_lcb->ch_state, p_lcb->conflict_lcid); in avct_l2c_connect_cfm_cback()
210 AVCT_TRACE_DEBUG("ch_state cnc: %d ", p_lcb->ch_state); in avct_l2c_connect_cfm_cback()
234 p_lcb->ch_state); in avct_l2c_config_cfm_cback()
236 if (p_lcb->ch_state == AVCT_CH_CFG) { in avct_l2c_config_cfm_cback()
237 p_lcb->ch_state = AVCT_CH_OPEN; in avct_l2c_config_cfm_cback()
240 AVCT_TRACE_DEBUG("ch_state cfc: %d ", p_lcb->ch_state); in avct_l2c_config_cfm_cback()
261 p_lcb->ch_state); in avct_l2c_config_ind_cback()
289 p_lcb->ch_state); in avct_l2c_disconnect_ind_cback()
293 AVCT_TRACE_DEBUG("ch_state di: %d ", p_lcb->ch_state); in avct_l2c_disconnect_ind_cback()
308 p_lcb->ch_state, result); in avct_l2c_disconnect()
316 AVCT_TRACE_DEBUG("ch_state dc: %d ", p_lcb->ch_state); in avct_l2c_disconnect()