Merge branch 'yhkylin/v101-fork' into 'yhkylin/v101'
解决BUG 149377, 【移动热点】操作反应过慢,导致同一设备同时出现在链接设备列表和黑名单列表 See merge request kylinos-src/kylin-nm!115
This commit is contained in:
commit
c5e488bef4
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue