--- a/mtpfws/mtpfw/dataproviders/devdp/src/cmtpgetdeviceinfo.cpp Tue May 25 13:35:25 2010 +0300
+++ b/mtpfws/mtpfw/dataproviders/devdp/src/cmtpgetdeviceinfo.cpp Wed Jun 09 10:36:33 2010 +0300
@@ -101,6 +101,15 @@
void CMTPGetDeviceInfo::ServiceL()
{
__FLOG(_L8("ServiceL - Entry"));
+
+ if (!iDpSingletons.DeviceDataStore().Enumerated())
+ {
+ __FLOG(_L8("MTPExtensionReady not ready, reschedule request"));
+ iDpSingletons.DeviceDataStore().RegisterPendingRequest();
+ RegisterPendingRequest();
+ return;
+ }
+
BuildDeviceInfoL();
SendDataL(*iDeviceInfo);
__FLOG(_L8("ServiceL - Exit"));