Skip to content
Snippets Groups Projects
Commit c674ea00 authored by Myles Watson's avatar Myles Watson
Browse files

RootCanal: Send scan_response_ when scanned

Bug: 231364385
Test: cert/run
Tag: #gd-refactor
Change-Id: I69c5b07bbdd4cf70d500fd5146ea02741065ee6b
(cherry picked from commit 85ce9819)
parent e11eb426
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ LeAdvertiser::GetScanResponse(bluetooth::hci::Address scanned,
return model::packets::LeScanResponseBuilder::Create(
address_.GetAddress(), peer_address_.GetAddress(),
static_cast<model::packets::AddressType>(address_.GetAddressType()),
type_, advertisement_);
model::packets::AdvertisementType::SCAN_RESPONSE, scan_response_);
} else {
uint8_t tx_power_jittered = 2 + tx_power_ - (num_events_ & 0x03);
return model::packets::RssiWrapperBuilder::Create(
......@@ -230,7 +230,7 @@ LeAdvertiser::GetScanResponse(bluetooth::hci::Address scanned,
model::packets::LeScanResponseBuilder::Create(
address_.GetAddress(), peer_address_.GetAddress(),
static_cast<model::packets::AddressType>(address_.GetAddressType()),
type_, advertisement_));
model::packets::AdvertisementType::SCAN_RESPONSE, scan_response_));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment