Commit ecefc729 authored by Slava Monich's avatar Slava Monich

[connectionagent] trace every requestConnect call

parent 9e69c51f
......@@ -290,6 +290,7 @@ void QConnectionAgent::connectToType(const QString &type)
if (path.contains(type)) {
if (!isStateOnline(servicesMap.value(path)->state())) {
if (servicesMap.value(path)->autoConnect()) {
qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>";
servicesMap.value(path)->requestConnect();
return;
}
......@@ -573,6 +574,7 @@ void QConnectionAgent::techTetheringChanged(bool on)
NetworkService* cellService = services.at(0);
if (cellService) {
if (cellService->state() == "idle"|| cellService->state() == "failure") {
qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>";
cellService->requestConnect();
} else if (cellService->connected()) {
delayedTethering = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment