datacommsserver/esockserver/ssock/ss_connstates.cpp
branchRCL_3
changeset 11 98a7181d2ce7
parent 9 77effd21b2c9
child 12 8b5d60ce1e94
equal deleted inserted replaced
9:77effd21b2c9 11:98a7181d2ce7
   727 		//Check if this is the progress we are waiting for, otherwise dump the progress
   727 		//Check if this is the progress we are waiting for, otherwise dump the progress
   728 		//Check whether KDataTransferUnblocked is received and if yes, then traslate it to KConnectionUp (== KLinkLayerOpen)
   728 		//Check whether KDataTransferUnblocked is received and if yes, then traslate it to KConnectionUp (== KLinkLayerOpen)
   729 		if (msg->iStateChange.iStage == KDataTransferUnblocked )
   729 		if (msg->iStateChange.iStage == KDataTransferUnblocked )
   730 			{
   730 			{
   731 			msg->iStateChange.iStage = KConnectionUp;	// KLinkLayerOpen
   731 			msg->iStateChange.iStage = KConnectionUp;	// KLinkLayerOpen
       
   732 			}
       
   733 		//TODO: Verify if this (connection) is the right place to translate the error
       
   734 		if (msg->iStateChange.iError == KErrForceDisconnected)
       
   735 			{
       
   736             msg->iStateChange.iError = KErrDisconnected;
   732 			}
   737 			}
   733 		if (selectedProgressStage == KConnProgressDefault
   738 		if (selectedProgressStage == KConnProgressDefault
   734 			|| selectedProgressStage == msg->iStateChange.iStage
   739 			|| selectedProgressStage == msg->iStateChange.iStage
   735 				|| KErrNone != msg->iStateChange.iError)
   740 				|| KErrNone != msg->iStateChange.iError)
   736 			{
   741 			{