Commit e8355d09 authored by Pasi Sjöholm's avatar Pasi Sjöholm

[connectionagent] recommit do not continue connectToType("cellular") if autoconnect is not enabled

parent 1d598f67
......@@ -324,6 +324,9 @@ void QConnectionAgent::connectToType(const QString &type)
qDebug() << "<<<<<<<<<<< requestConnect() >>>>>>>>>>>>";
elem.service->requestConnect();
return;
} else if (elem.path.contains("cellular")) {
// do not continue if cellular is not autoconnect
return;
}
} else {
return;
......
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