callcontinuity/vcchotrigger/src/vcchotrigger.cpp
branchRCL_3
changeset 31 5886d40bb3de
parent 29 755430a7d64b
child 33 2989b291cac7
--- a/callcontinuity/vcchotrigger/src/vcchotrigger.cpp	Tue Sep 14 21:02:05 2010 +0300
+++ b/callcontinuity/vcchotrigger/src/vcchotrigger.cpp	Wed Sep 15 12:01:56 2010 +0300
@@ -366,12 +366,11 @@
     RUBY_DEBUG1( " -DoHoInHeldWaitingCalls=%x ", iPolicy.DoHoInHeldWaitingCalls() );  
     RUBY_DEBUG0( "0 = GOOD, 1 = WEAK, 2 = UNDEFINED" );
     
-    // If the previous class is the same as the new one
-    // - do nothing.
-    
-    if ( iPreviousGsmClass == iGsmClass && iWlanClass != ESignalClassWeak  )
+    // If the new one is the same with the previous class and not weak, do nothing. 
+    // Otherwise, the ho will be triggered.
+    if ( iPreviousGsmClass == iGsmClass && iGsmClass != ESignalClassWeak  )
         {
-        RUBY_DEBUG0( "No change in GSM signal class -> return" );
+        RUBY_DEBUG0( "No change in GSM signal class and it is not weak  -> return" );
     
         return;
         }