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

Commit 28785575 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski Committed by Jakub Pawlowski
Browse files

eatt/unit_test: Use HCI_ROLE_PERIPHERAL as this is available now

Tag: #feature
Bug: 159786353
Sponsor: jpawlowski@
Test: atest --host net_test_eatt
Change-Id: Ic054ddb4bb66d403f354ce77bcf3173f7daef525
parent e17a7aa4
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 */