update wifi_manage/wifi_native/client/hdi_client/wifi_hdi_wpa_client.cpp.

Signed-off-by: xionglei <xionglei3@huawei.com>
This commit is contained in:
xionglei 2024-11-04 07:02:24 +00:00 committed by Gitee
parent c244504e4a
commit 29a6f4003f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -867,9 +867,9 @@ WifiErrorNo WifiHdiWpaClient::ReqDisconnectStaByMac(const std::string &mac, int
return HdiDisassociateSta(mac.c_str(), id);
}
WifiErrorNo WifiHdiWpaClient::ReqP2pStart(const std::string &ifaceName)
WifiErrorNo WifiHdiWpaClient::ReqP2pStart(const std::string &ifaceName, const bool hasPersisentGroup)
{
WifiErrorNo ret = HdiWpaP2pStart(ifaceName.c_str());
WifiErrorNo ret = HdiWpaP2pStart(ifaceName.c_str(), hasPersisentGroup);
if (ret == WIFI_HAL_OPT_OK) {
OnEventP2pStateChanged(P2P_SUPPLICANT_CONNECTED);
}