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

Commit 74964397 authored by Sonny Sasaka's avatar Sonny Sasaka Committed by Gerrit Code Review
Browse files

Merge "Floss: Fix regression of no scan results"

parents 1fbed985 d2806b1a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -385,9 +385,11 @@ struct LeScanningManager::impl : public LeAddressManagerCallback {
    // configure a filter accept list based e.g. on the service UUIDs
    // found in the report, we ignore the scan responses as we cannot be
    // certain that they will not be dropped by the filter.
    // TODO(b/275754998): Improve the decision on what to do with scan responses: Only when used
    // with hardware-filtering features should we ignore waiting for scan response, and make sure
    // scan responses are still reported too.
    scanning_reassembler_.SetIgnoreScanResponses(
        filter_policy_ == LeScanningFilterPolicy::FILTER_ACCEPT_LIST_ONLY &&
        api_type_ == ScanApiType::ANDROID_HCI);
        filter_policy_ == LeScanningFilterPolicy::FILTER_ACCEPT_LIST_ONLY);

    auto complete_advertising_data = scanning_reassembler_.ProcessAdvertisingReport(
        event_type, address_type, address, advertising_sid, advertising_data);