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

Commit 7a29a121 authored by Hansong Zhang's avatar Hansong Zhang Committed by android-build-merger
Browse files

Rootcanal: Fix check in RejectSlaveConnection am: 4f81b20c am: f166df78

am: 8ec9ef80

Change-Id: I592f2f6a4fc041626d2c60f4cbf66d34c6ff74d5
parents 86a454ee 8ec9ef80
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -951,7 +951,7 @@ hci::Status LinkLayerController::RejectConnectionRequest(const Address& addr, ui
}

void LinkLayerController::RejectSlaveConnection(const Address& addr, uint8_t reason) {
  CHECK(reason > 0x0f || reason < 0x0d);
  CHECK(reason >= 0x0d && reason <= 0x0f);
  send_event_(EventPacketBuilder::CreateConnectionCompleteEvent(static_cast<hci::Status>(reason), 0xeff, addr,
                                                                hci::LinkType::ACL, false)
                  ->ToVector());