diff -r 9200f38b1324 -r 042fd2753b8f telephonyserverplugins/common_tsy/commontsy/src/mmpacket/cmmmbmscontexttsy.cpp --- a/telephonyserverplugins/common_tsy/commontsy/src/mmpacket/cmmmbmscontexttsy.cpp Wed Sep 15 13:30:43 2010 +0300 +++ b/telephonyserverplugins/common_tsy/commontsy/src/mmpacket/cmmmbmscontexttsy.cpp Wed Oct 13 15:51:46 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -131,15 +131,15 @@ if ( KErrNone != trapError ) { - // Reset request handle to indicate the request is no longer ongoing - iTsyReqHandleStore->FindAndResetTsyReqHandle(aTsyReqHandle); ReqCompleted( aTsyReqHandle, trapError ); } + else if ( KErrNone != ret ) { ReqCompleted( aTsyReqHandle, ret ); } - else if ( EMultimodePacketMbmsReqHandleUnknown != iReqHandleType ) + + if ( EMultimodePacketMbmsReqHandleUnknown != iReqHandleType ) { #ifdef REQHANDLE_TIMER SetTypeOfResponse( iReqHandleType, aTsyReqHandle ); @@ -147,7 +147,7 @@ iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle ); #endif // REQHANDLE_TIMER } - iReqHandleType = EMultimodePacketMbmsReqHandleUnknown; + return KErrNone; }