mtpfws/mtpfw/dataproviders/devdp/src/cmtpopensession.cpp
branchRCL_3
changeset 6 f8e15b44d440
parent 0 d0791faffa3f
child 14 60a94a45d437
equal deleted inserted replaced
0:d0791faffa3f 6:f8e15b44d440
    81 OpenSession request handler.  Adds the session to the connection.
    81 OpenSession request handler.  Adds the session to the connection.
    82 */    
    82 */    
    83 void CMTPOpenSession::ServiceL()    
    83 void CMTPOpenSession::ServiceL()    
    84     {
    84     {
    85     iSingletons.DpController().WaitForEnumerationComplete();
    85     iSingletons.DpController().WaitForEnumerationComplete();
    86     if(iSingletons.DpController().EnumerateState() != CMTPDataProviderController::EEnumerated)
    86     if(iSingletons.DpController().EnumerateState() < CMTPDataProviderController::EEnumeratingPhaseOneDone)
    87     	{
    87     	{
    88     	SendResponseL(EMTPRespCodeDeviceBusy);
    88     	SendResponseL(EMTPRespCodeDeviceBusy);
    89     	}
    89     	}
    90     else
    90     else
    91     	{
    91     	{