Loading system/bta/jv/bta_jv_act.c +7 −3 Original line number Diff line number Diff line Loading @@ -1871,14 +1871,18 @@ static int bta_jv_port_data_co_cback(UINT16 port_handle, UINT8 *buf, UINT16 len, { tBTA_JV_RFC_CB *p_cb = bta_jv_rfc_port_to_cb(port_handle); tBTA_JV_PCB *p_pcb = bta_jv_rfc_port_to_pcb(port_handle); APPL_TRACE_DEBUG("bta_jv_port_data_co_cback, p_cb:%p, p_pcb:%p, len:%d", p_cb, p_pcb, len); int ret = 0; APPL_TRACE_DEBUG("bta_jv_port_data_co_cback, p_cb:%p, p_pcb:%p, len:%d, type:%d", p_cb, p_pcb, len, type); if (p_pcb != NULL) { switch(type) { case DATA_CO_CALLBACK_TYPE_INCOMING: return bta_co_rfc_data_incoming(p_pcb->user_data, (BT_HDR*)buf); bta_jv_pm_conn_busy(p_pcb->p_pm_cb); ret = bta_co_rfc_data_incoming(p_pcb->user_data, (BT_HDR*)buf); bta_jv_pm_conn_idle(p_pcb->p_pm_cb); return ret; case DATA_CO_CALLBACK_TYPE_OUTGOING_SIZE: return bta_co_rfc_data_outgoing_size(p_pcb->user_data, (int*)buf); case DATA_CO_CALLBACK_TYPE_OUTGOING: Loading Loading
system/bta/jv/bta_jv_act.c +7 −3 Original line number Diff line number Diff line Loading @@ -1871,14 +1871,18 @@ static int bta_jv_port_data_co_cback(UINT16 port_handle, UINT8 *buf, UINT16 len, { tBTA_JV_RFC_CB *p_cb = bta_jv_rfc_port_to_cb(port_handle); tBTA_JV_PCB *p_pcb = bta_jv_rfc_port_to_pcb(port_handle); APPL_TRACE_DEBUG("bta_jv_port_data_co_cback, p_cb:%p, p_pcb:%p, len:%d", p_cb, p_pcb, len); int ret = 0; APPL_TRACE_DEBUG("bta_jv_port_data_co_cback, p_cb:%p, p_pcb:%p, len:%d, type:%d", p_cb, p_pcb, len, type); if (p_pcb != NULL) { switch(type) { case DATA_CO_CALLBACK_TYPE_INCOMING: return bta_co_rfc_data_incoming(p_pcb->user_data, (BT_HDR*)buf); bta_jv_pm_conn_busy(p_pcb->p_pm_cb); ret = bta_co_rfc_data_incoming(p_pcb->user_data, (BT_HDR*)buf); bta_jv_pm_conn_idle(p_pcb->p_pm_cb); return ret; case DATA_CO_CALLBACK_TYPE_OUTGOING_SIZE: return bta_co_rfc_data_outgoing_size(p_pcb->user_data, (int*)buf); case DATA_CO_CALLBACK_TYPE_OUTGOING: Loading