mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-30 10:42:11 +00:00
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:
parent
c244504e4a
commit
29a6f4003f
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user