Loading system/bta/jv/bta_jv_act.cc +8 −2 Original line number Diff line number Diff line Loading @@ -1387,8 +1387,14 @@ static void bta_jv_port_mgmt_cl_cback(uint32_t code, uint16_t port_handle) { uint16_t lcid; tBTA_JV_RFCOMM_CBACK* p_cback; /* the callback function */ log::verbose("code={}, port_handle={}", code, port_handle); if (NULL == p_cb || NULL == p_cb->p_cback) return; if (p_cb == NULL) { log::warn("p_cb is NULL, code={}, port_handle={}", code, port_handle); return; } else if (p_cb->p_cback == NULL) { log::warn("p_cb->p_cback is null, code={}, port_handle={}", code, port_handle); return; } log::verbose("code={}, port_handle={}, handle={}", code, port_handle, p_cb->handle); Loading Loading
system/bta/jv/bta_jv_act.cc +8 −2 Original line number Diff line number Diff line Loading @@ -1387,8 +1387,14 @@ static void bta_jv_port_mgmt_cl_cback(uint32_t code, uint16_t port_handle) { uint16_t lcid; tBTA_JV_RFCOMM_CBACK* p_cback; /* the callback function */ log::verbose("code={}, port_handle={}", code, port_handle); if (NULL == p_cb || NULL == p_cb->p_cback) return; if (p_cb == NULL) { log::warn("p_cb is NULL, code={}, port_handle={}", code, port_handle); return; } else if (p_cb->p_cback == NULL) { log::warn("p_cb->p_cback is null, code={}, port_handle={}", code, port_handle); return; } log::verbose("code={}, port_handle={}, handle={}", code, port_handle, p_cb->handle); Loading