telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp
changeset 69 b982c3e940f3
parent 44 8b72faa1200f
child 73 70d75957b98f
--- a/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp	Mon Aug 09 17:43:08 2010 +0100
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp	Tue Sep 14 17:55:14 2010 +0100
@@ -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