linklayercontrol/networkinterfacemgr/agentprcore/src/agentscpr.cpp
branchRCL_3
changeset 22 8d540f55e491
parent 21 abbed5a4b42a
equal deleted inserted replaced
21:abbed5a4b42a 22:8d540f55e491
   294     	iActivityIdForAdapter = KActivityNull;
   294     	iActivityIdForAdapter = KActivityNull;
   295     	iStopRequested = EFalse;
   295     	iStopRequested = EFalse;
   296 	    }
   296 	    }
   297 	else
   297 	else
   298 	    {
   298 	    {
   299 	    // Agent has stopped and disconnected without this node telling it to
   299 	    // Verify AgentSCPR is Started, if its started, do not initiate TDataClientGoneDown, else initiate it
   300 	    // Could be an error in the agent initiating a disconnect
   300         if(!AgentProvisionInfo()->AgentAdapter()->IsAgentInErrorState())
   301     	__CFLOG_VAR((KAgentSCprTag, KAgentSCprSubTag, _L8("CAgentSubConnectionProvider::ConnectionDownL() - Agent has stopped unexpectedly")));
   301             {
   302 	    ControlProvider()->PostMessage(Id(), TCFControlProvider::TDataClientGoneDown(KErrDisconnected).CRef());
   302 	        // Agent has stopped and disconnected without this node telling it to
       
   303 	        // Could be an error in the agent initiating a disconnect
       
   304 	        __CFLOG_VAR((KAgentSCprTag, KAgentSCprSubTag, _L8("CAgentSubConnectionProvider::ConnectionDownL() - Agent has stopped unexpectedly")));
       
   305 	        ControlProvider()->PostMessage(Id(), TCFControlProvider::TDataClientGoneDown(KErrDisconnected).CRef());	        
       
   306 	        }
       
   307 	        
   303 	    }
   308 	    }
   304 	}
   309 	}
   305 
   310 
   306 
   311 
   307 /**
   312 /**