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

Commit c0186a36 authored by Henri Chataing's avatar Henri Chataing
Browse files

RootCanal: Fix link layer's Remote Name Response

Fixes the test NeighborTest.NeighborTest.test_remote_name
The local name was returned in the Remote Name Complete event
instead of the remote name

Test: none
Change-Id: I16eb09ee20ef6f14d38b8db50f80d56ba2a61b57
parent 50bea9a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -732,7 +732,7 @@ void LinkLayerController::IncomingRemoteNameRequestResponse(

  if (IsEventUnmasked(EventCode::REMOTE_NAME_REQUEST_COMPLETE)) {
    send_event_(bluetooth::hci::RemoteNameRequestCompleteBuilder::Create(
        ErrorCode::SUCCESS, packet.GetSourceAddress(), name_));
        ErrorCode::SUCCESS, packet.GetSourceAddress(), view.GetName()));
  }
}