summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/bearer/icd/qicdengine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/bearer/icd/qicdengine.cpp b/src/plugins/bearer/icd/qicdengine.cpp
index 87b31da..cae2b7c 100644
--- a/src/plugins/bearer/icd/qicdengine.cpp
+++ b/src/plugins/bearer/icd/qicdengine.cpp
@@ -821,9 +821,8 @@ void QIcdEngine::getIcdInitialState()
ptr = accessPointConfigurations.value(m_onlineIapId);
if (ptr) {
- ptr->state = QNetworkConfiguration::Active;
-
QMutexLocker configLocker(&ptr->mutex);
+ ptr->state = QNetworkConfiguration::Active;
configLocker.unlock();
locker.unlock();