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