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

Commit e556b590 authored by Myles Watson's avatar Myles Watson
Browse files

HCI: Add address to LinkKeyRequestReplyComplete

Fixes: 203685841
Tag: #gd-refactor
Test: cert/run
Change-Id: I178e84d665c13f31428e677eafc8fc84c00b30d5
parent 6193b979
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1009,6 +1009,7 @@ packet LinkKeyRequestReply : SecurityCommand (op_code = LINK_KEY_REQUEST_REPLY)

packet LinkKeyRequestReplyComplete : CommandComplete (command_op_code = LINK_KEY_REQUEST_REPLY) {
  status : ErrorCode,
  bd_addr : Address,
}

packet LinkKeyRequestNegativeReply : SecurityCommand (op_code = LINK_KEY_REQUEST_NEGATIVE_REPLY) {
+1 −1
Original line number Diff line number Diff line
@@ -1513,7 +1513,7 @@ void DualModeController::LinkKeyRequestReply(CommandView command) {
  auto key = command_view.GetLinkKey();
  auto status = link_layer_controller_.LinkKeyRequestReply(addr, key);
  auto packet = bluetooth::hci::LinkKeyRequestReplyCompleteBuilder::Create(
      kNumCommandPackets, status);
      kNumCommandPackets, status, addr);
  send_event_(std::move(packet));
}