Fix TDIS-1012 issue(APN setting)
authorwootak.jung <wootak.jung@samsung.com>
Wed, 3 Apr 2013 05:51:59 +0000 (14:51 +0900)
committerGerrit Code Review <gerrit2@kim11>
Wed, 3 Apr 2013 09:12:51 +0000 (18:12 +0900)
Defect: When APN set correct value after set incorrect value, APN setting is not working.

Change-Id: Ia2a2d90ba93a36bbdd68f08c8b304bcc6fd1ef52

src/s_ps.c

index 5e7c6a8..ebd18fa 100755 (executable)
@@ -143,9 +143,11 @@ static void on_response_undefine_context_cmd(TcorePending *p, int data_len, cons
        co_ps = tcore_pending_ref_core_object(p);
        if (resp->success) {
                dbg("Response Ok");
-               return;
+               goto exit;
        }
        dbg("Response NOk");
+
+exit:
        _unable_to_get_pending(co_ps, ps_context);
        return;
 }