mtpfws/mtpfw/dataproviders/devdp/src/cmtpopensession.cpp
changeset 17 aabe5387f5ce
parent 0 d0791faffa3f
child 14 60a94a45d437
equal deleted inserted replaced
0:d0791faffa3f 17:aabe5387f5ce
    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     	{