telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp
changeset 75 f45cd1ad4667
parent 42 3adadc800673
child 73 70d75957b98f
--- a/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp	Thu Sep 02 21:42:07 2010 +0300
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp	Mon Oct 04 02:16:52 2010 +0300
@@ -573,6 +573,32 @@
     }
 #endif // REQHANDLE_TIMER
 
+// ---------------------------------------------------------------------------
+// CMmPacketTsy::ResetReqHandle
+// Resets the request handle in req handle store
+// (other items were commented in a header).
+// ---------------------------------------------------------------------------
+//
+TBool CMmPacketTsy::ResetReqHandle(const TTsyReqHandle aTsyReqHandle, const TInt aIpc)
+    {
+    //handle has not been reset yet
+    TInt ret = EFalse;
+    if(aIpc == ECustomSetAlwaysOnMode)
+        { 
+		// request handle is set in packet data session
+        CMmPacketServiceTsy* packetSession = iMmPhone->PacketDataSession();
+        if(packetSession)
+            {
+            ret = packetSession->ResetReqHandle(aTsyReqHandle);
+            }
+        }
+    else
+        { 
+		// request handle stored locally
+        ret = iTsyReqHandleStore->FindAndResetTsyReqHandle(aTsyReqHandle);
+        }
+    return ret;
+    }
 
 //  End of File