解决BUG 149377, 【移动热点】操作反应过慢,导致同一设备同时出现在链接设备列表和黑名单列表
This commit is contained in:
parent
190abffa2e
commit
323411ac9b
|
@ -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