mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-26 18:30:47 +00:00
commit
fc9b9ef977
@ -282,7 +282,7 @@ int32_t P2pAdapter::SetPeerWifiConfigInfo(const std::string &config)
|
||||
}
|
||||
ret = Hid2dSetPeerWifiCfgInfo(TYPE_OF_SET_PEER_CONFIG, (char *)decodeCfg, (int32_t)decodeLen);
|
||||
delete[] decodeCfg;
|
||||
CONN_CHECK_AND_RETURN_RET_LOGE(ret == WIFI_SUCCESS, ToSoftBusErrorCode(ret),
|
||||
CONN_CHECK_AND_RETURN_RET_LOGE((ret == WIFI_SUCCESS) || (ret == ERROR_WIFI_ENHANCE_SVC), ToSoftBusErrorCode(ret),
|
||||
CONN_WIFI_DIRECT, "set wifi cfg failed, error=%{public}d",
|
||||
ToSoftBusErrorCode(ret));
|
||||
CONN_LOGI(CONN_WIFI_DIRECT, "set success");
|
||||
|
Loading…
Reference in New Issue
Block a user