Signed-off-by: wujun <wujun156@huawei.com>
This commit is contained in:
wujun 2024-11-11 17:03:29 +08:00
parent 0f24ce0f0f
commit 8fe7fc8b1e

View File

@ -4047,7 +4047,9 @@ void StaStateMachine::ConnectToNetworkProcess(std::string bssid)
WifiDeviceConfig deviceConfig;
if (WifiSettings::GetInstance().GetDeviceConfig(targetNetworkId, deviceConfig, m_instId) != 0) {
WIFI_LOGE("%{public}s cnanot find config for networkId = %{public}d", __FUNCTION__, targetNetworkId);
WIFI_LOGE("%{public}s cannot find config for networkId = %{public}d", __FUNCTION__, targetNetworkId);
DisConnectProcess();
return;
}
UpdateDeviceConfigAfterWifiConnected(deviceConfig, bssid);
std::string ifaceName = WifiConfigCenter::GetInstance().GetStaIfaceName(m_instId);