Skip to content

Commit

Permalink
[mer][qtnetwork] Treat missing connmanManager as completed update. Co…
Browse files Browse the repository at this point in the history
…ntributes to JB#39853

Previous if request scan failed, update was treated as completed. Align
with that behaviour and treat also missing connman interface as completed
update.
  • Loading branch information
rainemak authored and denexter committed Jun 5, 2018
1 parent 3ebbb9f commit 8c6de3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/bearer/connman/qconnmanengine.cpp
Expand Up @@ -230,7 +230,7 @@ void QConnmanEngine::requestUpdate()

void QConnmanEngine::doRequestUpdate()
{
if (connmanManager && connmanManager->requestScan("wifi"))
if (!connmanManager || !connmanManager->requestScan("wifi"))
Q_EMIT updateCompleted();
}

Expand Down

0 comments on commit 8c6de3c

Please sign in to comment.