From 738ceb5df3ca38096f306224f632a5ace19f325b Mon Sep 17 00:00:00 2001 From: Hansong Zhang Date: Wed, 23 Sep 2020 15:12:42 -0700 Subject: [PATCH] SDP: We always use basic mode Bug: 159815595 Tag: #refactor Test: compile & verify basic functions working Change-Id: I9510a361a5aaf4a85c25a548f7501efe4c9221d5 --- stack/sdp/sdp_main.cc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/stack/sdp/sdp_main.cc b/stack/sdp/sdp_main.cc index eeaaa2f0c..e5fc5b495 100644 --- a/stack/sdp/sdp_main.cc +++ b/stack/sdp/sdp_main.cc @@ -302,16 +302,6 @@ static void sdp_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { } } } else { - /* If peer has rejected FCR and suggested basic then try basic */ - if (p_cfg->fcr_present) { - tL2CAP_CFG_INFO cfg = sdp_cb.l2cap_my_cfg; - cfg.fcr_present = false; - L2CA_ConfigReq(l2cap_cid, &cfg); - - /* Remain in configure state */ - return; - } - sdp_disconnect(p_ccb, SDP_CFG_FAILED); } } -- 2.11.0