diff -r 7e41d162e158 -r abbed5a4b42a networkcontrol/iptransportlayer/src/ipcpr_states.cpp --- a/networkcontrol/iptransportlayer/src/ipcpr_states.cpp Thu Aug 19 11:25:30 2010 +0300 +++ b/networkcontrol/iptransportlayer/src/ipcpr_states.cpp Tue Aug 31 16:45:15 2010 +0300 @@ -25,7 +25,6 @@ #include "IPCpr.h" #include "ipcpr_states.h" #include "IPMessages.h" -#include #include #include #include @@ -190,26 +189,6 @@ #endif //SYMBIAN_NETWORKING_UPS - -DEFINE_SMELEMENT( TAwaitingSpecialGoneDown, NetStateMachine::MState, IpCprStates::TContext) -TBool IpCprStates::TAwaitingSpecialGoneDown::Accept() - { - TCFControlClient::TGoneDown* pGoneDown = message_cast(&iContext.iMessage); - if(pGoneDown && //If this is a TCFControlClient::TGoneDown message AND - iContext.Node().CountClients( - TClientType(TCFClientType::ECtrl, TCFClientType::EAttach)) && //the local node is an attached ipcpr AND - ((pGoneDown->iValue1 == KErrGprsInsufficientResources) || //the error value suggests the contention management - (pGoneDown->iValue1 == KErrPacketDataTsyMaxPdpContextsReached) || - (pGoneDown->iValue1 == KErrUmtsMaxNumOfContextExceededByNetwork) || - (pGoneDown->iValue1 == KErrUmtsMaxNumOfContextExceededByPhone)) - ) - { - return ETrue; - } - return EFalse; - } - - #ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW /* Constructor for the new parameter set to be sent in parameter bundle while requesting for bearer type.