12 if (scan.get_is_hidden())
14 const int8_t rssi = scan.get_rssi();
15 bool any_auth =
false;
16 for (
const auto &other : results) {
17 if (other.get_is_hidden() || !other.ssid_equals(scan))
20 if (other.get_rssi() > rssi || (other.get_rssi() == rssi && &other < &scan))
22 any_auth |= other.get_with_auth();