diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-10-13 06:57:35 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-10-13 06:57:35 (GMT) |
commit | 4c9651219140141da49d0ea965544d8f64dbf323 (patch) | |
tree | 42a52722f6bf91e680d6d8d9350fc540d3537fe0 /src/plugins | |
parent | 6714e4f267fc1e7bbd9f649ff18dc90ed720f316 (diff) | |
download | Qt-4c9651219140141da49d0ea965544d8f64dbf323.zip Qt-4c9651219140141da49d0ea965544d8f64dbf323.tar.gz Qt-4c9651219140141da49d0ea965544d8f64dbf323.tar.bz2 |
Fix User 46 Panic in bearer management on Symbian.
The active object made a request before it was set as active.
Task-number: QT-3996
Written-by: Perttu Pohjonen <perttu.pohjonen@nokia.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/bearer/symbian/symbianengine.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/plugins/bearer/symbian/symbianengine.cpp b/src/plugins/bearer/symbian/symbianengine.cpp index f759a95..ef273c1 100644 --- a/src/plugins/bearer/symbian/symbianengine.cpp +++ b/src/plugins/bearer/symbian/symbianengine.cpp @@ -1365,16 +1365,12 @@ void AccessPointsAvailabilityScanner::StartScanning() // don't need time-consuming scans (WLAN). // Note: EBearerIdWCDMA covers also GPRS bearer iConnectionMonitor.GetPckgAttribute(EBearerIdWCDMA, 0, KIapAvailability, iIapBuf, iStatus); - User::WaitForRequest(iStatus); - if (iStatus.Int() == KErrNone) { - iOwner.accessPointScanningReady(true,iIapBuf()); - } } else { iConnectionMonitor.GetPckgAttribute(EBearerIdAll, 0, KIapAvailability, iIapBuf, iStatus); - if (!IsActive()) { - SetActive(); - } } + + if (!IsActive()) + SetActive(); } void AccessPointsAvailabilityScanner::RunL() |