diff -r 2b2a51c87b12 -r e408fc570bb5 userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp --- a/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp Fri Apr 23 22:38:37 2010 +0100 +++ b/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cscsiprotocol.cpp Tue Apr 27 15:10:09 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; }