omadmadapters/nsmldminternet/src/NSmlWlanSettings.cpp
changeset 67 fdbfe0a95492
parent 56 a9afc3a8dbfa
--- a/omadmadapters/nsmldminternet/src/NSmlWlanSettings.cpp	Fri Sep 17 19:58:05 2010 +0530
+++ b/omadmadapters/nsmldminternet/src/NSmlWlanSettings.cpp	Fri Oct 15 11:39:02 2010 +0530
@@ -880,7 +880,7 @@
             TInt enError = KErrNone;
             TInt lockError = KErrNone;
             TRAP(lockError, enError = PerformLockWLANTablesL(ETrue));
-            if (iSecondaryView != NULL)
+            if (apEnforce)
                 {
                 ((CCommsDbProtectTableView*) iSecondaryView)->ProtectRecord();
                 }