contextframework/cfwplugins/sensorsourceplugin/src/sensorchannelbase.cpp
branchRCL_3
changeset 62 924385140d98
parent 30 fc3225a0ab43
child 63 c2c61fdca848
--- a/contextframework/cfwplugins/sensorsourceplugin/src/sensorchannelbase.cpp	Thu Aug 19 10:05:08 2010 +0300
+++ b/contextframework/cfwplugins/sensorsourceplugin/src/sensorchannelbase.cpp	Tue Aug 31 15:24:25 2010 +0300
@@ -13,7 +13,6 @@
 *
 * Description:  CSensorChannelBase class implementation.
 *
-*  
 */
 
 
@@ -236,8 +235,9 @@
     TInt aDataLost )
     {
     FUNC_LOG;
-    
-    
+
+    TRAP_IGNORE( HandleDataReceivedL( aChannel, aCount, aDataLost ) );
+
     // If we are fetching initial value, make sure that the channel is closed
     // properly if there are no active connections
     if( !SensorActive() && iState == EChannelStateInitializing )
@@ -247,7 +247,6 @@
         }
     else
         {
-        TRAP_IGNORE( HandleDataReceivedL( aChannel, aCount, aDataLost ) );
         // Active connections received, change state
         ChangeState( EChannelStateActive );
         }
@@ -632,4 +631,3 @@
     }
 
 // End of file
-