Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1599cc10 authored by Sandeep Gutta's avatar Sandeep Gutta Committed by Gerrit - the friendly Code Review server
Browse files

MSIM: Clear status counter if session failed

If ongoing session failed and time-out happens, while
sending finish request reset the status counter to '0'.

Change-Id: I50473ca67f79e1c12ba6627b8d59e2b289743bf3
CRs-Fixed: 1070951
parent 20bd9d7f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -509,6 +509,9 @@ public class ProxyController {
            // Increment the sessionId as we are completing the transaction below
            // so we don't want it completed when the FINISH phase is done.
            mRadioCapabilitySessionId = mUniqueIdGenerator.getAndIncrement();

            // Reset the status counter as existing session failed
            mRadioAccessFamilyStatusCounter = 0;
            // send FINISH request with fail status and then uniqueDifferentId
            mTransactionFailed = true;
            issueFinish(mRadioCapabilitySessionId);