Merge branch 'yhkylin/v101-fork' into 'yhkylin/v101'

解决BUG 149377, 【移动热点】操作反应过慢,导致同一设备同时出现在链接设备列表和黑名单列表

See merge request kylinos-src/kylin-nm!115
This commit is contained in:
赵世旭 2023-03-16 01:35:18 +00:00
commit c5e488bef4
1 changed files with 2 additions and 0 deletions

View File

@ -641,11 +641,13 @@ KyApConnectItem *KyConnectResourse::getApConnectItem(NetworkManager::Connection:
return nullptr; return nullptr;
} }
#ifdef CHECKDEVICE
KyNetworkDeviceResourse deviceResource; KyNetworkDeviceResourse deviceResource;
if (!deviceResource.wirelessDeviceIsExist(settingPtr->interfaceName())) { if (!deviceResource.wirelessDeviceIsExist(settingPtr->interfaceName())) {
qDebug() << "[KyConnectResourse]" <<"get ap item failed, the ap device is not exist yet"; qDebug() << "[KyConnectResourse]" <<"get ap item failed, the ap device is not exist yet";
return nullptr; return nullptr;
} }
#endif
QByteArray rawSsid = wirelessSetting->ssid(); QByteArray rawSsid = wirelessSetting->ssid();