mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Update error code for Wifi Hotspot STA connection failure.
PiperOrigin-RevId: 830728102
This commit is contained in:
committed by
Copybara-Service
parent
1e7611f61b
commit
decf2acbd9
@@ -217,8 +217,8 @@ WifiHotspotBwuHandler::CreateUpgradedEndpointChannel(
|
||||
|
||||
if (!wifi_hotspot_medium_.ConnectWifiHotspot(hotspot_credentials)) {
|
||||
LOG(ERROR) << "Connect to Hotspot failed";
|
||||
return {Error(
|
||||
OperationResultCode::CONNECTIVITY_WIFI_HOTSPOT_INVALID_CREDENTIAL)};
|
||||
return {Error(OperationResultCode::
|
||||
CONNECTIVITY_WIFI_HOTSPOT_LEGACY_STA_CONNECTION_FAILURE)};
|
||||
}
|
||||
|
||||
ErrorOr<WifiHotspotSocket> socket_result = wifi_hotspot_medium_.Connect(
|
||||
|
||||
Reference in New Issue
Block a user