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

Commit 4b879b08 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Automerger Merge Worker
Browse files

eatt/unit_test: Use HCI_ROLE_PERIPHERAL as this is available now am: 28785575

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1477783

Change-Id: I2e83c264217fadeb547c9bd2486c1cabf8cf2c16
parents b66fa1a8 28785575
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -191,10 +191,7 @@ TEST_F(EattTest, ConnectFailedSlaveOnTheLink) {
              ConnectCreditBasedReq(BT_PSM_EATT, test_address, _))
      .Times(0);

  /* This shall be HCI_ROLE_PERIPHERAL when it gets there
   * TODO: fix when merge conflic fixed, go/aog/1459349
   */
  hci_role_ = 0x01;
  hci_role_ = HCI_ROLE_PERIPHERAL;
  eatt_instance_->Connect(test_address);

  /* Back to default btm role */