From 99612d8dbe8c16ee23e71b61b928d5f0e8f0b92a Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Fri, 12 Nov 2021 13:40:10 +0800 Subject: [PATCH] =?UTF-8?q?WPA1=20WPA2=20=E7=B1=BB=E5=9E=8B=E6=A3=80?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/netdetails/netdetail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/netdetails/netdetail.cpp b/src/frontend/netdetails/netdetail.cpp index 171686df..fffed21f 100644 --- a/src/frontend/netdetails/netdetail.cpp +++ b/src/frontend/netdetails/netdetail.cpp @@ -906,7 +906,7 @@ bool NetDetail::checkWirelessSecurity(KySecuType secuType) showDesktopNotify(tr("this wifi no support None type")); return false; } else if (secuType == WPA_AND_WPA2_PERSONAL - && (m_info.strSecType.indexOf("WPA1") < 0 || + && (m_info.strSecType.indexOf("WPA1") < 0 && m_info.strSecType.indexOf("WPA2") < 0)) { showDesktopNotify(tr("this wifi no support WPA2 type")); return false;