kernel/eka/drivers/pbus/mmc/session.cpp
branchRCL_3
changeset 43 c1f20ce4abcf
parent 19 4a8fed1c0ef6
child 44 3e88ff8f41d5
--- a/kernel/eka/drivers/pbus/mmc/session.cpp	Thu Aug 19 11:14:22 2010 +0300
+++ b/kernel/eka/drivers/pbus/mmc/session.cpp	Tue Aug 31 16:34:26 2010 +0300
@@ -464,6 +464,10 @@
 		return KErrNotReady;
 	    }
 
+	// Save the callers card pointer as some state machines 
+	// (e.g. ECIMLockUnlock, ECIMInitStackAfterUnlock) can change it
+	SaveCard();
+
 	SetupCIMControl(iSessionID);
 
 	iStackP->Add(this);