linklayercontrol/networkinterfacemgr/agentprcore/src/CAgentAdapter.cpp
branchRCL_3
changeset 75 c1029e558ef5
parent 58 8d540f55e491
equal deleted inserted replaced
67:bb2423252ea3 75:c1029e558ef5
   146 Begins the disconnection of the Agent
   146 Begins the disconnection of the Agent
   147 */
   147 */
   148 void CAgentAdapter::DisconnectAgent(TInt aReason)
   148 void CAgentAdapter::DisconnectAgent(TInt aReason)
   149     {
   149     {
   150     if (iAgentState == EConnecting)
   150     if (iAgentState == EConnecting)
   151         {    
   151         {
   152         iAgent->CancelConnect();
   152         iAgent->CancelConnect();
   153         }
   153         }
   154     else if (iAgentState == EReconnecting)
   154     else if (iAgentState == EReconnecting)
   155         {
   155         {
   156         iAgent->CancelReconnect();
   156         iAgent->CancelReconnect();