equal
deleted
inserted
replaced
2723 OstTraceExt3(TRACE_FLOW, DMMCMEDIADRIVERFLASH_ENGAGEANDSETREQUEST_ENTRY, "DMmcMediaDriverFlash::EngageAndSetRequest;aRequest=%d;aCurrent=%d;this=%x", (TInt) aRequest, aCurrent, (TUint) this); |
2723 OstTraceExt3(TRACE_FLOW, DMMCMEDIADRIVERFLASH_ENGAGEANDSETREQUEST_ENTRY, "DMmcMediaDriverFlash::EngageAndSetRequest;aRequest=%d;aCurrent=%d;this=%x", (TInt) aRequest, aCurrent, (TUint) this); |
2724 __ASSERT_DEBUG(iSession != NULL, Panic(ECFSessPtrNull)); |
2724 __ASSERT_DEBUG(iSession != NULL, Panic(ECFSessPtrNull)); |
2725 |
2725 |
2726 iMedReq = aRequest; |
2726 iMedReq = aRequest; |
2727 SetCurrentConsumption(aCurrent); |
2727 SetCurrentConsumption(aCurrent); |
|
2728 |
|
2729 // Reset the card pointer just in case the stack has changed it. |
|
2730 iSession->SetCard(iCard); |
2728 |
2731 |
2729 TInt r = InCritical(); |
2732 TInt r = InCritical(); |
2730 if (r == KErrNone) |
2733 if (r == KErrNone) |
2731 { |
2734 { |
2732 r = iSession->Engage(); |
2735 r = iSession->Engage(); |