Fix bug wifi can not be reconnect after S3 or S4 operation
This commit is contained in:
parent
9302479e7c
commit
e3192b47c5
|
@ -3109,6 +3109,7 @@ void MainWindow::on_btnHotspotState()
|
||||||
//执行wifi的重新连接
|
//执行wifi的重新连接
|
||||||
void MainWindow::toReconnectWifi()
|
void MainWindow::toReconnectWifi()
|
||||||
{
|
{
|
||||||
|
syslog(LOG_DEBUG, "------------------> toReconnectWifi");
|
||||||
if (isHuaWeiPC) {
|
if (isHuaWeiPC) {
|
||||||
current_wifi_list_state = RECONNECT_WIFI;
|
current_wifi_list_state = RECONNECT_WIFI;
|
||||||
this->ksnm->execGetWifiList(this->wcardname);
|
this->ksnm->execGetWifiList(this->wcardname);
|
||||||
|
|
|
@ -74,7 +74,7 @@ int Utils::m_system(char *cmd)
|
||||||
}
|
}
|
||||||
double duration = (double)(finish-start)/CLOCKS_PER_SEC;
|
double duration = (double)(finish-start)/CLOCKS_PER_SEC;
|
||||||
QString str = "It takes "+QString::number(duration)+" seconds to execute command:"+cmd;
|
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;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue