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

Commit 27858e4b authored by Henri Chataing's avatar Henri Chataing Committed by Thomas Girardier
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

Bug: 245578454
Test: none
Ignore-AOSP-First: cherry-pick from AOSP
Change-Id: I16eb09ee20ef6f14d38b8db50f80d56ba2a61b57
Merged-In: I16eb09ee20ef6f14d38b8db50f80d56ba2a61b57
parent 0638b59d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -741,7 +741,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()));
  }
}