--- a/mtpfws/mtpfw/src/cmtpconnection.cpp Wed Apr 14 16:49:36 2010 +0300
+++ b/mtpfws/mtpfw/src/cmtpconnection.cpp Tue Apr 27 17:30:23 2010 +0300
@@ -329,6 +329,8 @@
if (aMTPId != KMTPSessionNone)
{
// Notify the data providers if other than the null session is closing.
+ // OpenSession Command coming and now it is really connected to host.
+ PublishConnState(EConnectedToHost);
TMTPNotificationParamsSessionChange params = {aMTPId, *this};
iSingletons.DpController().NotifyDataProvidersL(EMTPSessionOpened, ¶ms);
}
@@ -406,7 +408,7 @@
iTransportConnection = &aTransportConnection;
iTransportConnection->BindL(*this);
SetState(EStateOpen);
- PublishConnState(EConnectedToHost);
+
}
__FLOG(_L8("ConnectionResumed - Exit"));