Code Review
/
apps
/
agl-service-windowmanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix for als2019 8.0.0
[apps/agl-service-windowmanager.git]
/
src
/
wm_connection.cpp
diff --git
a/src/wm_connection.cpp
b/src/wm_connection.cpp
index
16bb2d6
..
3600cd4
100644
(file)
--- a/
src/wm_connection.cpp
+++ b/
src/wm_connection.cpp
@@
-557,7
+557,7
@@
int WMConnection::connectToEcu()
std::string ecu_name = itr->first;
HMI_DEBUG("ECU Names %s", ecu_name.c_str());
std::string ecu_name = itr->first;
HMI_DEBUG("ECU Names %s", ecu_name.c_str());
- if (itr->second.connectedSocket() != -1 ||
!itr->second.masterMode()
)
+ if (itr->second.connectedSocket() != -1 ||
itr->first == this->ecu_name
)
{
cnt++;
HMI_DEBUG("Already Connected");
{
cnt++;
HMI_DEBUG("Already Connected");
@@
-569,6
+569,9
@@
int WMConnection::connectToEcu()
HMI_DEBUG("Try Connection");
connectToServer(ecu_name);
}
HMI_DEBUG("Try Connection");
connectToServer(ecu_name);
}
+
+ HMI_DEBUG("Wait Connection");
+
}
if (cnt == (int)this->wm_socket.size())
}
if (cnt == (int)this->wm_socket.size())