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

Commit a29e094a authored by Ramesh Sudini's avatar Ramesh Sudini Committed by Wink Saville
Browse files

DataConnection: Fix handling of PDP setup failure.

Change-Id: Ib73c5aad1f9f07ddca7e2e0b3dfba6ed40aa47ef
parent 676db0d3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -490,6 +490,9 @@ public abstract class DataConnection extends StateMachine {
                log("BUG: onSetupConnectionCompleted is stale cp.tag=" + cp.tag + ", mtag=" + mTag);
            }
            result = DataCallState.SetupResult.ERR_Stale;
        } else if (response.status != 0) {
            result = DataCallState.SetupResult.ERR_RilError;
            result.mFailCause = FailCause.fromInt(response.status);
        } else {
            log("onSetupConnectionCompleted received DataCallState: " + response);