From 323411ac9bde882711b1194cbfc28ddf542fd9dc Mon Sep 17 00:00:00 2001 From: chenxuechao Date: Tue, 14 Mar 2023 17:35:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3BUG=20149377=EF=BC=8C=20?= =?UTF-8?q?=E3=80=90=E7=A7=BB=E5=8A=A8=E7=83=AD=E7=82=B9=E3=80=91=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E5=8F=8D=E5=BA=94=E8=BF=87=E6=85=A2=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=90=8C=E4=B8=80=E8=AE=BE=E5=A4=87=E5=90=8C=E6=97=B6?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E5=9C=A8=E9=93=BE=E6=8E=A5=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=92=8C=E9=BB=91=E5=90=8D=E5=8D=95=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/dbus-interface/kylinconnectresource.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backend/dbus-interface/kylinconnectresource.cpp b/src/backend/dbus-interface/kylinconnectresource.cpp index 487cb8f6..7de89382 100644 --- a/src/backend/dbus-interface/kylinconnectresource.cpp +++ b/src/backend/dbus-interface/kylinconnectresource.cpp @@ -641,11 +641,13 @@ KyApConnectItem *KyConnectResourse::getApConnectItem(NetworkManager::Connection: return nullptr; } +#ifdef CHECKDEVICE KyNetworkDeviceResourse deviceResource; if (!deviceResource.wirelessDeviceIsExist(settingPtr->interfaceName())) { qDebug() << "[KyConnectResourse]" <<"get ap item failed, the ap device is not exist yet"; return nullptr; } +#endif QByteArray rawSsid = wirelessSetting->ssid();