summaryrefslogtreecommitdiffstats
path: root/src/plugins/bearer/icd
diff options
context:
space:
mode:
authorkranthi <kranthi.kumar-kuntala@nokia.com>2011-02-02 14:57:45 (GMT)
committerkranthi <kranthi.kumar-kuntala@nokia.com>2011-02-02 14:57:45 (GMT)
commitbb6d0f75d4a5d3dadb5e0134aa0270bcab61f205 (patch)
tree58d31640d47d0b35a0285ede997dd0f2a93d2774 /src/plugins/bearer/icd
parent17ee918b2cd2bb012a538b721bbd888677072614 (diff)
downloadQt-bb6d0f75d4a5d3dadb5e0134aa0270bcab61f205.zip
Qt-bb6d0f75d4a5d3dadb5e0134aa0270bcab61f205.tar.gz
Qt-bb6d0f75d4a5d3dadb5e0134aa0270bcab61f205.tar.bz2
Fix for QTBUG-17035
Reviewed-by: Aaron McCarthy Task-number: QTBUG-17035
Diffstat (limited to 'src/plugins/bearer/icd')
-rw-r--r--src/plugins/bearer/icd/qnetworksession_impl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/bearer/icd/qnetworksession_impl.cpp b/src/plugins/bearer/icd/qnetworksession_impl.cpp
index 6d578d3..af5d85e 100644
--- a/src/plugins/bearer/icd/qnetworksession_impl.cpp
+++ b/src/plugins/bearer/icd/qnetworksession_impl.cpp
@@ -125,9 +125,6 @@ static QString get_network_interface();
void QNetworkSessionPrivateImpl::iapStateChanged(const QString& iapid, uint icd_connection_state)
{
- if ((publicConfig.type() == QNetworkConfiguration::UserChoice) && opened) {
- updateIdentifier(iapid);
- }
if (((publicConfig.type() == QNetworkConfiguration::UserChoice) &&
(activeConfig.identifier() == iapid)) ||
@@ -149,6 +146,9 @@ void QNetworkSessionPrivateImpl::iapStateChanged(const QString& iapid, uint icd_
break;
}
}
+ if (publicConfig.type() == QNetworkConfiguration::UserChoice) {
+ updateIdentifier(iapid);
+ }
}
void QNetworkSessionPrivateImpl::cleanupSession(void)