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

Commit b96cc420 authored by Myles Watson's avatar Myles Watson Committed by Gerrit Code Review
Browse files

Merge "RootCanal: Allow empty scan responses"

parents 024ee7b5 0c07a574
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ LeAdvertiser::GetAdvertisement(std::chrono::steady_clock::time_point now) {
std::unique_ptr<model::packets::LeScanResponseBuilder>
LeAdvertiser::GetScanResponse(bluetooth::hci::Address scanned,
                              bluetooth::hci::Address scanner) {
  if (scanned != address_.GetAddress() || !enabled_ || scan_response_.empty()) {
  if (scanned != address_.GetAddress() || !enabled_) {
    return nullptr;
  }
  switch (filter_policy_) {