Merge branch '1111-3.1' into 'dbus-interface'

连接隐藏WiFi不需要判断安全类型限制

See merge request kylin-desktop/kylin-nm!402
This commit is contained in:
ren peijia 2021-11-12 01:17:24 +00:00
commit 7021d9ae54
1 changed files with 4 additions and 2 deletions

View File

@ -730,8 +730,10 @@ bool NetDetail::createWirelessConnect()
KyEapMethodType enterpriseType;
securityPage->getSecuType(secuType, enterpriseType);
//类型判断
if (!checkWirelessSecurity(secuType)) {
return false;
if (!m_name.isEmpty()) {
if (!checkWirelessSecurity(secuType)) {
return false;
}
}
//基本信息