mtpfws/mtpfw/dataproviders/devdp/src/cmtpopensession.cpp
branchRCL_3
changeset 6 f8e15b44d440
parent 0 d0791faffa3f
child 14 60a94a45d437
--- a/mtpfws/mtpfw/dataproviders/devdp/src/cmtpopensession.cpp	Tue Feb 02 01:11:40 2010 +0200
+++ b/mtpfws/mtpfw/dataproviders/devdp/src/cmtpopensession.cpp	Fri Feb 19 23:40:44 2010 +0200
@@ -83,7 +83,7 @@
 void CMTPOpenSession::ServiceL()    
     {
     iSingletons.DpController().WaitForEnumerationComplete();
-    if(iSingletons.DpController().EnumerateState() != CMTPDataProviderController::EEnumerated)
+    if(iSingletons.DpController().EnumerateState() < CMTPDataProviderController::EEnumeratingPhaseOneDone)
     	{
     	SendResponseL(EMTPRespCodeDeviceBusy);
     	}