userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp
changeset 139 95f71bcdcdb7
parent 109 b3a1d9898418
--- 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;
 	}