diff -r 0a9e01492035 -r 04408506c6e0 bearermanagement/mpm/src/mpmserver.cpp --- 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 ); } }