nwnotifier/src/nwregistrationstatusmonitor.cpp
branchRCL_3
changeset 17 c58fd5f0c240
parent 6 1b9ee3c7442d
--- a/nwnotifier/src/nwregistrationstatusmonitor.cpp	Mon Jun 21 16:18:13 2010 +0300
+++ b/nwnotifier/src/nwregistrationstatusmonitor.cpp	Thu Jul 15 19:16:18 2010 +0300
@@ -21,6 +21,7 @@
 // System 
 #include <exterror.h>
 #include <mmtsy_names.h> // KMmTsyModuleName
+#include <etelmmerr.h>
 
 // ================= MEMBER FUNCTIONS =======================================
 
@@ -223,16 +224,15 @@
             iResID = R_PHONE_NOT_ALLOW_MM6;
             RDebug::Print( _L("NW: CNWRegistrationStatusMonitor::ParseErrCode() : R_PHONE_NOT_ALLOW_MM6") );
             break;
+            }  
+        case KErrMMEtelAuthenticateFailed:
+            {
+            RDebug::Print( _L("NW: CNWRegistrationStatusMonitor::ParseErrCode() : R_SIM_NOT_ALLOW") );
+            iResID = R_SIM_NOT_ALLOW;
+            break;  
             }
         default:
-            {
-            case KErrGeneral:
-                {
-                RDebug::Print( _L("NW: CNWRegistrationStatusMonitor::ParseErrCode() : R_SIM_NOT_ALLOW") );
-                iResID = R_SIM_NOT_ALLOW;
-                break;  
-                }
-            }
+            break;
         }
     }