diff -r 0ff03867bdb6 -r 39b39e1a406e userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp --- a/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp Wed Jul 21 14:46:58 2010 +0100 +++ b/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp Thu Jul 22 16:46:39 2010 +0100 @@ -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; }