system/bt
リビジョン | 7b3e597303a49cca0dec33c424e986a7a9fe905e (tree) |
---|---|
日時 | 2019-12-04 08:56:58 |
作者 | Automerger Merge Worker <android-build-automerger-merge-worker@syst...> |
コミッター | Automerger Merge Worker |
Merge "SDP: add return after SDP disconnection" into oc-dev am: 765abc5cb6 am: 1f3bc32195 am: 52cd67a7de am: 6ef3486983
Change-Id: Idf52ecb11c7193b6711f87579fcc5a069025b1b3
@@ -436,6 +436,7 @@ static void process_service_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, | ||
436 | 436 | if (!sdp_copy_raw_data(p_ccb, false)) { |
437 | 437 | SDP_TRACE_ERROR("sdp_copy_raw_data failed"); |
438 | 438 | sdp_disconnect(p_ccb, SDP_ILLEGAL_PARAMETER); |
439 | + return; | |
439 | 440 | } |
440 | 441 | |
441 | 442 | #endif |
@@ -642,6 +643,7 @@ static void process_service_search_attr_rsp(tCONN_CB* p_ccb, uint8_t* p_reply, | ||
642 | 643 | if (!sdp_copy_raw_data(p_ccb, true)) { |
643 | 644 | SDP_TRACE_ERROR("sdp_copy_raw_data failed"); |
644 | 645 | sdp_disconnect(p_ccb, SDP_ILLEGAL_PARAMETER); |
646 | + return; | |
645 | 647 | } |
646 | 648 | #endif |
647 | 649 |