kerneltest/e32test/mediaext/d_nfe.cpp
changeset 134 95847726fe57
parent 126 2b2a51c87b12
child 244 a77889bee936
--- a/kerneltest/e32test/mediaext/d_nfe.cpp	Wed May 12 10:34:10 2010 +0100
+++ b/kerneltest/e32test/mediaext/d_nfe.cpp	Mon May 24 18:38:55 2010 +0100
@@ -21,7 +21,7 @@
 #include "nfe.h"
 
 #if defined(_DEBUG)
-	#define TRACE_ENABLED
+//	#define TRACE_ENABLED
 #else
 #endif
 
@@ -782,7 +782,6 @@
 			break;
 
 		case DLocalDrive::EWrite:
-			WriteEncryptionStatusToBootSector(di, EFalse);	// a write to the drive clears the finalised state
 			r=HandleWrite(aReq);
 			break;
 
@@ -1471,8 +1470,7 @@
 	if (!aDi.IsUDADrive())
 		return KErrNone;
 
-	if (aDi.iDriveFinalised == aFinalised)
-		return KErrNone;
+	aDi.iDriveFinalised = aFinalised;
 
 	TNfeDiskStatus status = aDi.Status();