Loading system/bta/hh/bta_hh_act.c +8 −0 Original line number Diff line number Diff line Loading @@ -399,6 +399,14 @@ void bta_hh_start_sdp(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data) } else { status = BTA_HH_OK; } } else if (bta_hh_cb.p_disc_db) { /* It is possible that there is incoming/outgoing collision case. DUT initiated * HID connection at same time remote has connected L2CAP for HID control, * so SDP would be in progress, when this flow reaches here. Just do nothing * when the code reaches here, and ongoing SDP completion or failure will handle this case. */ APPL_TRACE_DEBUG("%s: ignoring as SDP already in progress", __func__); return; } if (status != BTA_HH_OK) Loading Loading
system/bta/hh/bta_hh_act.c +8 −0 Original line number Diff line number Diff line Loading @@ -399,6 +399,14 @@ void bta_hh_start_sdp(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data) } else { status = BTA_HH_OK; } } else if (bta_hh_cb.p_disc_db) { /* It is possible that there is incoming/outgoing collision case. DUT initiated * HID connection at same time remote has connected L2CAP for HID control, * so SDP would be in progress, when this flow reaches here. Just do nothing * when the code reaches here, and ongoing SDP completion or failure will handle this case. */ APPL_TRACE_DEBUG("%s: ignoring as SDP already in progress", __func__); return; } if (status != BTA_HH_OK) Loading