userlibandfileserver/fileserver/shostmassstorage/server/protocol/cmassstoragefsm.cpp
--- a/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cmassstoragefsm.cpp Fri Apr 23 22:20:31 2010 +0100
+++ b/userlibandfileserver/fileserver/shostmassstorage/server/protocol/cmassstoragefsm.cpp Fri Apr 23 22:26:35 2010 +0100
@@ -321,6 +321,7 @@
TInt CMassStorageFsm::ConnectLogicalUnitL()
{
__MSFNLOG
+ __HOSTPRINT(_L("CMassStorageFsm::ConnectLogicalUnitL()"));
TInt err = KErrNone;
for (;;)
{
@@ -340,6 +341,7 @@
TInt CMassStorageFsm::DisconnectLogicalUnitL()
{
__MSFNLOG
+ __HOSTPRINT(_L("CMassStorageFsm::DisconnectLogicalUnitL()"));
TInt err = KErrNone;
for (;;)
{
@@ -370,6 +372,7 @@
TRAPD(err, event = EntryL());
if (err == KErrNotSupported)
{
+ __HOSTPRINT(_L("FSM ProcessState returning with KErrNotSupported"));
return KErrNotSupported;
}
User::LeaveIfError(err);
@@ -557,7 +560,11 @@
aFsm.SetState(TMassStorageState::EReadCapacityState);
}
else
- aFsm.SetState(TMassStorageState::EInquiryState);
+ {
+ __HOSTPRINT(_L("SBC is not set !!"));
+ aFsm.SetState(TMassStorageState::EReadCapacityState);
+ }
+
return KErrNone;
}