mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
disabled 5ghz and 6ghz till a workaround for LAR is found or till LAR situation improves.
This commit is contained in:
@@ -197,6 +197,8 @@ bool WifiLanMedium::StartDiscovery(
|
||||
}
|
||||
}
|
||||
|
||||
avahi_->SetDiscoveryCallback(std::move(callback));
|
||||
|
||||
try {
|
||||
sdbus::ObjectPath browser_object_path =
|
||||
avahi_->ServiceBrowserPrepare(-1, // AVAHI_IF_UNSPEC
|
||||
@@ -211,7 +213,7 @@ bool WifiLanMedium::StartDiscovery(
|
||||
service_browsers_.emplace(
|
||||
service_type,
|
||||
std::make_unique<avahi::ServiceBrowser>(
|
||||
*system_bus_, browser_object_path, std::move(callback), avahi_));
|
||||
*system_bus_, browser_object_path, avahi_));
|
||||
} catch (const sdbus::Error &e) {
|
||||
DBUS_LOG_METHOD_CALL_ERROR(avahi_, "ServiceBrowserPrepare", e);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user