--- a/mtpfws/mtpfw/src/cmtpconnectionmgr.cpp Tue Sep 28 20:14:08 2010 +0800
+++ b/mtpfws/mtpfw/src/cmtpconnectionmgr.cpp Fri Oct 15 15:05:57 2010 +0800
@@ -511,8 +511,10 @@
TInt CMTPConnectionMgr::DoResumeSuspendedTransport( TAny* aSelf )
{
CMTPConnectionMgr* self = reinterpret_cast< CMTPConnectionMgr* >( aSelf );
- __ASSERT_DEBUG( ( self->iSuspendedTransports.Count() > 0 ), User::Invariant() );
- TRAP_IGNORE( self->StartTransportL( self->iSuspendedTransports[self->iSuspendedTransports.Count()-1] ) );
+ if(self->iSuspendedTransports.Count() > 0)
+ {
+ TRAP_IGNORE( self->StartTransportL( self->iSuspendedTransports[self->iSuspendedTransports.Count()-1] ) );
+ }
return KErrNone;
}