system/bt
リビジョン | 1f3bc32195b112816312734ee648f8b1d20a9202 (tree) |
---|---|
日時 | 2019-12-04 08:21:52 |
作者 | Automerger Merge Worker <android-build-automerger-merge-worker@syst...> |
コミッター | Automerger Merge Worker |
Merge "SDP: add return after SDP disconnection" into oc-dev am: 765abc5cb6
Change-Id: I4adccd7acc83181359c798527f6231a2b29e4429
@@ -469,6 +469,7 @@ static void process_service_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, | ||
469 | 469 | if (!sdp_copy_raw_data(p_ccb, false)) { |
470 | 470 | SDP_TRACE_ERROR("sdp_copy_raw_data failed"); |
471 | 471 | sdp_disconnect(p_ccb, SDP_ILLEGAL_PARAMETER); |
472 | + return; | |
472 | 473 | } |
473 | 474 | |
474 | 475 | #endif |
@@ -698,6 +699,7 @@ static void process_service_search_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, | ||
698 | 699 | if (!sdp_copy_raw_data(p_ccb, true)) { |
699 | 700 | SDP_TRACE_ERROR("sdp_copy_raw_data failed"); |
700 | 701 | sdp_disconnect(p_ccb, SDP_ILLEGAL_PARAMETER); |
702 | + return; | |
701 | 703 | } |
702 | 704 | #endif |
703 | 705 |