File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -503,6 +503,10 @@ NetworkConfiguratorStates NetworkConfiguratorClass::handleReadStorage() {
503
503
504
504
if (credFound && _connectionHandler->updateSetting (_networkSetting)) {
505
505
_connectionHandlerIstantiated = true ;
506
+ _configInProgress = _agentsManager->isConfigInProgress ();
507
+ if (_configInProgress) {
508
+ return NetworkConfiguratorStates::UPDATING_CONFIG;
509
+ }
506
510
return NetworkConfiguratorStates::CONFIGURED;
507
511
}
508
512
@@ -583,7 +587,8 @@ NetworkConfiguratorStates NetworkConfiguratorClass::handleConfigured() {
583
587
}
584
588
585
589
NetworkConfiguratorStates NetworkConfiguratorClass::handleUpdatingConfig () {
586
- if (_agentsManager->isConfigInProgress () == false ) {
590
+ _configInProgress = _agentsManager->isConfigInProgress ();
591
+ if (_configInProgress == false ) {
587
592
// If peer disconnects without updating the network settings, go to connecting state for check the connection
588
593
sendStatus (StatusMessage::CONNECTING);
589
594
return NetworkConfiguratorStates::CONNECTING;
You can’t perform that action at this time.
0 commit comments