Loading system/bta/gatt/bta_gattc_act.cc +31 −30 Original line number Diff line number Diff line Loading @@ -822,7 +822,11 @@ void bta_gattc_start_discover(tBTA_GATTC_CLCB* p_clcb, { p_clcb->auto_update = BTA_GATTC_NO_SCHEDULE; if (p_clcb->p_srcb != NULL) { if (p_clcb->p_srcb == NULL) { LOG(ERROR) << "unknown device, can not start discovery"; return; } /* set all srcb related clcb into discovery ST */ bta_gattc_set_discover_st(p_clcb->p_srcb); Loading Loading @@ -854,9 +858,6 @@ void bta_gattc_start_discover(tBTA_GATTC_CLCB* p_clcb, } bta_gattc_start_discover_internal(p_clcb); } else { LOG(ERROR) << "unknown device, can not start discovery"; } } /* pending operation, wait until it finishes */ else { Loading Loading
system/bta/gatt/bta_gattc_act.cc +31 −30 Original line number Diff line number Diff line Loading @@ -822,7 +822,11 @@ void bta_gattc_start_discover(tBTA_GATTC_CLCB* p_clcb, { p_clcb->auto_update = BTA_GATTC_NO_SCHEDULE; if (p_clcb->p_srcb != NULL) { if (p_clcb->p_srcb == NULL) { LOG(ERROR) << "unknown device, can not start discovery"; return; } /* set all srcb related clcb into discovery ST */ bta_gattc_set_discover_st(p_clcb->p_srcb); Loading Loading @@ -854,9 +858,6 @@ void bta_gattc_start_discover(tBTA_GATTC_CLCB* p_clcb, } bta_gattc_start_discover_internal(p_clcb); } else { LOG(ERROR) << "unknown device, can not start discovery"; } } /* pending operation, wait until it finishes */ else { Loading