WPA1 WPA2 类型检测

This commit is contained in:
jzxc95 2021-11-12 13:40:10 +08:00
parent 5f3c1e923f
commit 99612d8dbe
1 changed files with 1 additions and 1 deletions

View File

@ -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;