Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81d4d240 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

SDP: We always use basic mode

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I9510a361a5aaf4a85c25a548f7501efe4c9221d5
parent d8b05c31
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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);
  }
}