branch | RCL_3 |
changeset 36 | 04408506c6e0 |
parent 26 | 0a9e01492035 |
child 45 | 4c83dcfb6f1a |
--- a/bearermanagement/mpm/src/mpmserver.cpp Tue May 25 13:08:02 2010 +0300 +++ b/bearermanagement/mpm/src/mpmserver.cpp Wed Jun 09 10:07:12 2010 +0300 @@ -962,6 +962,11 @@ TInt index = iSessions.Find( aSession ); if ( index != KErrNotFound ) { + if ( Events() ) + { + // Cancel WLAN scan request if one exists + TRAP_IGNORE( Events()->CancelScanL( iSessions[index] ) ) + } iSessions.Remove( index ); } }