Fix bug wifi can not be reconnect after S3 or S4 operation

This commit is contained in:
you name 2021-03-30 10:06:50 +08:00
parent 9302479e7c
commit e3192b47c5
2 changed files with 2 additions and 1 deletions

View File

@ -3109,6 +3109,7 @@ void MainWindow::on_btnHotspotState()
//执行wifi的重新连接
void MainWindow::toReconnectWifi()
{
syslog(LOG_DEBUG, "------------------> toReconnectWifi");
if (isHuaWeiPC) {
current_wifi_list_state = RECONNECT_WIFI;
this->ksnm->execGetWifiList(this->wcardname);

View File

@ -74,7 +74,7 @@ int Utils::m_system(char *cmd)
}
double duration = (double)(finish-start)/CLOCKS_PER_SEC;
QString str = "It takes "+QString::number(duration)+" seconds to execute command:"+cmd;
syslog(LOG_DEBUG,"%s",str.toStdString().c_str());
//syslog(LOG_DEBUG,"%s",str.toStdString().c_str());
return status;
}