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

Commit 79dd88a9 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:...

eatt/unit_test: Use HCI_ROLE_PERIPHERAL as this is available now am: 28785575 am: 4b879b08 am: 7c26a122 am: e69574b6

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

Change-Id: Iec6d493dd330d3a1208534791850348c9752e00f
parents fdcd5b46 e69574b6
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 */