equal
deleted
inserted
replaced
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 { |