system/bt
修订版 | 52cd67a7deb9ba11f2bab1897992ff91077a79bf (tree) |
---|---|
时间 | 2019-12-04 08:29:41 |
作者 | Automerger Merge Worker <android-build-automerger-merge-worker@syst...> |
Commiter | Automerger Merge Worker |
Merge "SDP: add return after SDP disconnection" into oc-dev am: 765abc5cb6 am: 1f3bc32195
Change-Id: I08a3792c2110c102e1a61051ff74bfa8ef8735c8
@@ -471,6 +471,7 @@ static void process_service_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, | ||
471 | 471 | if (!sdp_copy_raw_data(p_ccb, false)) { |
472 | 472 | SDP_TRACE_ERROR("sdp_copy_raw_data failed"); |
473 | 473 | sdp_disconnect(p_ccb, SDP_ILLEGAL_PARAMETER); |
474 | + return; | |
474 | 475 | } |
475 | 476 | |
476 | 477 | #endif |
@@ -700,6 +701,7 @@ static void process_service_search_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, | ||
700 | 701 | if (!sdp_copy_raw_data(p_ccb, true)) { |
701 | 702 | SDP_TRACE_ERROR("sdp_copy_raw_data failed"); |
702 | 703 | sdp_disconnect(p_ccb, SDP_ILLEGAL_PARAMETER); |
704 | + return; | |
703 | 705 | } |
704 | 706 | #endif |
705 | 707 |