vtengines/videoteleng/Src/State/CVtEngStateNegotiating.cpp
changeset 44 b6ab36974f47
parent 0 ed9695c8bcbe
equal deleted inserted replaced
43:fc383c0181e8 44:b6ab36974f47
    55     const MVtCtlCallControl::TVtCtlState bearerstate = 
    55     const MVtCtlCallControl::TVtCtlState bearerstate = 
    56         SessionHandler().RealState();
    56         SessionHandler().RealState();
    57     const MVtProtocolCommand::TVtProtocolState state( MediaHandler().ProtoState() );
    57     const MVtProtocolCommand::TVtProtocolState state( MediaHandler().ProtoState() );
    58     CVtEngStateBase* newState = NULL;
    58     CVtEngStateBase* newState = NULL;
    59 
    59 
    60     if ( bearerstate != MVtCtlCallControl::EConnected ||
    60     if ( bearerstate != MVtCtlCallControl::EConnected &&
    61          state == MVtProtocolCommand::ESetup ) // <- connect failed
    61          state == MVtProtocolCommand::ESetup ) // <- connect failed
    62         {
    62         {
    63         newState = NewStateL( MVtEngSessionInfo::EClearing );
    63         newState = NewStateL( MVtEngSessionInfo::EClearing );
    64         }
    64         }
    65     else if ( state == MVtProtocolCommand::EConnected )
    65     else if ( state == MVtProtocolCommand::EConnected )