diff -r 4c83dcfb6f1a -r 984e13af52c4 bearermanagement/mpm/src/mpmserversession.cpp --- a/bearermanagement/mpm/src/mpmserversession.cpp Mon Jun 21 16:06:29 2010 +0300 +++ b/bearermanagement/mpm/src/mpmserversession.cpp Thu Jul 15 19:05:04 2010 +0300 @@ -814,9 +814,7 @@ // check whether a started connection exists which already // uses this IAP. If so, it won't need to be confirmed again // - TConnectionState state = iMyServer.CheckUsageOfIap( aIapId, iConnId ); - - if ( state == EStarted || state == EStarting || state == ERoaming ) + if ( iMyServer.CheckUsageOfIap( aIapId, iConnId ) == EStarted ) { MPMLOGSTRING( "CMPMServerSession::IsConfirmFirstL - IAP already started, \ @@ -1614,8 +1612,10 @@ { // Process error according to the fact that the connection // has already been started. - // - if ( ( error == KErrCancel ) || ( error == KErrTimedOut ) ) + // KErrConnectionTerminated is received when user disconnects + // connection from Settings/Connection mgr. + // + if ( ( error == KErrCancel ) || ( error == KErrTimedOut ) || ( error == KErrConnectionTerminated ) ) { neededAction = EPropagateError;