mirror of
https://gitee.com/openharmony/communication_wifi.git
synced 2024-11-27 01:01:03 +00:00
update wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/wifi_p2p_service_impl.cpp.
Signed-off-by: xionglei <xionglei3@huawei.com>
This commit is contained in:
parent
ff7422c1c4
commit
9eae756088
@ -1311,7 +1311,9 @@ ErrCode WifiP2pServiceImpl::Hid2dGetChannelListFor5G(std::vector<int>& vecChanne
|
||||
}
|
||||
|
||||
if (vecChannelList.size() == 0) {
|
||||
WifiSettings::GetInstance().SetDefaultFrequenciesByCountryBand(BandType::BAND_5GHZ, vecChannelList);
|
||||
std::vector<int> tempFrequenciesList;
|
||||
WifiSettings::GetInstance().SetDefaultFrequenciesByCountryBand(BandType::BAND_5GHZ, tempFrequenciesList);
|
||||
TransformFrequencyIntoChannel(tempFrequenciesList, vecChannelList);
|
||||
}
|
||||
std::string strChannel;
|
||||
for (auto channel : vecChannelList) {
|
||||
|
Loading…
Reference in New Issue
Block a user