userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp
--- a/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp Fri May 14 17:13:29 2010 +0300
+++ b/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp Thu May 27 14:17:14 2010 +0300
@@ -264,7 +264,8 @@
__MSFNLOG
if (!IsConnected())
{
- DoScsiReadyCheckEventL();
+ if (!DoScsiReadyCheckEventL())
+ return;
}
if (!iSbcInterface)
@@ -800,7 +801,7 @@
}
-void CScsiProtocol::DoScsiReadyCheckEventL()
+TBool CScsiProtocol::DoScsiReadyCheckEventL()
{
__MSFNLOG
TInt err = KErrNone;
@@ -833,6 +834,7 @@
iMediaChangeNotifier.DoNotifyL();
}
}
+ return err = KErrNone ? ETrue : EFalse;
}