企业WiFi自动回连问题
This commit is contained in:
parent
48eb9a9501
commit
953a98b0ff
|
@ -239,7 +239,7 @@ void EnterpriseWlanDialog::onBtnConnectClicked()
|
|||
KyWirelessConnectSetting connetSetting;
|
||||
connetSetting.setConnectName(m_wirelessNetItem.m_NetSsid);
|
||||
connetSetting.setIfaceName(m_deviceName);
|
||||
// connetSetting.isAutoConnect = true; //ZJP_TODO 自动连接选项
|
||||
connetSetting.isAutoConnect = m_securityPage->getAutoConnectState(); //ZJP_TODO 自动连接选项
|
||||
connetSetting.m_type = KyKeyMgmt::WpaEap;
|
||||
connetSetting.m_ssid = m_wirelessNetItem.m_NetSsid;
|
||||
connetSetting.m_secretFlag = 0;
|
||||
|
|
|
@ -467,6 +467,12 @@ void SecurityPage::getSecuType(KySecuType &secuType, KyEapMethodType &enterprise
|
|||
enterpriseType = (KyEapMethodType)eapTypeCombox->currentData().toInt();
|
||||
}
|
||||
|
||||
bool SecurityPage::getAutoConnectState()
|
||||
{
|
||||
bool state = m_rememberCheckBox->isChecked();
|
||||
return state;
|
||||
}
|
||||
|
||||
bool SecurityPage::checkIsChanged(const ConInfo info)
|
||||
{
|
||||
if (info.secType != secuTypeCombox->currentData().toInt()) {
|
||||
|
|
|
@ -54,6 +54,7 @@ public:
|
|||
void updateTtlsChange(KyEapMethodTtlsInfo &info);
|
||||
|
||||
void getSecuType(KySecuType &secuType, KyEapMethodType &enterpriseType);
|
||||
bool getAutoConnectState();
|
||||
|
||||
private:
|
||||
bool isDetailPage;
|
||||
|
|
Loading…
Reference in New Issue