diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-07-26 02:02:36 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-07-27 02:03:47 (GMT) |
commit | 0664d3ad029b4d80d9ffac75f4f1c6c47bac2641 (patch) | |
tree | b1c384495ad3db11264eb88aece6e0dd9d915e1c /src/plugins/bearer | |
parent | a0ae434a452deea022e3b7117e946e95542aa884 (diff) | |
download | Qt-0664d3ad029b4d80d9ffac75f4f1c6c47bac2641.zip Qt-0664d3ad029b4d80d9ffac75f4f1c6c47bac2641.tar.gz Qt-0664d3ad029b4d80d9ffac75f4f1c6c47bac2641.tar.bz2 |
Cherry pick fix for MOBILITY-1145 from Qt Mobility.
f17d8a5dbef076046ff504fecb1fd445c9b785ac
Diffstat (limited to 'src/plugins/bearer')
-rw-r--r-- | src/plugins/bearer/symbian/qnetworksession_impl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/bearer/symbian/qnetworksession_impl.cpp b/src/plugins/bearer/symbian/qnetworksession_impl.cpp index 99737d7..d6b4975 100644 --- a/src/plugins/bearer/symbian/qnetworksession_impl.cpp +++ b/src/plugins/bearer/symbian/qnetworksession_impl.cpp @@ -1130,7 +1130,9 @@ void QNetworkSessionPrivateImpl::RunL() isOpening = false; activeConfig = QNetworkConfiguration(); serviceConfig = QNetworkConfiguration(); - if (publicConfig.state() == QNetworkConfiguration::Undefined || + if (statusCode == KErrCancel) { + iError = QNetworkSession::SessionAbortedError; + } else if (publicConfig.state() == QNetworkConfiguration::Undefined || publicConfig.state() == QNetworkConfiguration::Defined) { iError = QNetworkSession::InvalidConfigurationError; } else { |