Don't set wifi working variables when checking wifi
@@ -2716,22 +2716,12 @@ int DeRestPluginPrivate::putWifiUpdated(const ApiRequest &req, ApiResponse &rsp)
{
gwWifiStateString = QLatin1String("check-ap");
- if (gwWifiWorkingType != QLatin1String("accesspoint"))
- {
- gwWifiWorkingType = QLatin1String("accesspoint");
- }
-
updateEtag(gwConfigEtag);
}
else if (status == QLatin1String("check-client") && gwWifiStateString != QLatin1String("check-client"))
{
gwWifiStateString = QLatin1String("check-client");
- if (gwWifiWorkingType != QLatin1String("client"))
- {
- gwWifiWorkingType = QLatin1String("client");
- }
-
updateEtag(gwConfigEtag);
}
else if (status == QLatin1String("not-configured") && gwWifiStateString != QLatin1String("not-configured"))
