adaptationlayer/modematadaptation/modematcommon_dll/src/modemat_common.cpp
changeset 5 8ccc39f9d787
parent 0 63b37f68c1ce
child 9 8486d82aef45
--- a/adaptationlayer/modematadaptation/modematcommon_dll/src/modemat_common.cpp	Mon Nov 09 10:36:19 2009 +0000
+++ b/adaptationlayer/modematadaptation/modematcommon_dll/src/modemat_common.cpp	Thu Jan 14 10:44:58 2010 +0200
@@ -121,7 +121,7 @@
         }
     if ( aMask & KModeVerbose )
         {
-        aMode |= iQuietMode * KVerboseModeBase;
+        aMode |= iVerboseMode * KVerboseModeBase;
         C_TRACE((_L("verbosemode %d"), aMode));
         }
     if ( aMask & KModeCarriage )
@@ -426,20 +426,17 @@
 void CModemAtCommon::HandleCommandModeChanged( TInt aErr, TCommandMode aMode )
     {
     C_TRACE((_L("CModemAtCommon::HandleCommandModeChanged( aErr: %d, aMode: %d) "), aErr, aMode));
-    ASSERT_PANIC_ALWAYS( aErr == KErrNone );
-    ASSERT_PANIC_ALWAYS( aMode != EIgnore );
-
-   iCommandMode = aMode;
-   TUint mode( 0 );
-   mode |= KCommandModeChanged;
-   if( aMode != EDataMode)
-       {
-       C_TRACE((_L("Not EDataMode")));
-       mode |= KModeCommand;
-       }
-   C_TRACE((_L("COMMON PLUGIN SendModeStatusChange: 0x%x"), mode));
-   SendModeStatusChange( mode );
-   }
+    iCommandMode = aMode;
+    TUint mode( 0 );
+    mode |= KCommandModeChanged;
+    if( aMode != EDataMode)
+        {
+        C_TRACE((_L("Not EDataMode")));
+        mode |= KModeCommand;
+        }
+    C_TRACE((_L("COMMON PLUGIN SendModeStatusChange: 0x%x"), mode));
+    SendModeStatusChange( mode );
+    }
 
 
 //  End of File