---
 src/stk.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stk.c b/src/stk.c
index 9cdf2b1..eb27555 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -1732,7 +1732,7 @@ static void call_setup_connected(struct ofono_call *call, 
void *data)
        static struct ofono_error error = { .type = OFONO_ERROR_TYPE_FAILURE };
        static unsigned char facility_rejected_result[] = { 0x9d };
 
-       if (call == NULL || call->status == CALL_STATUS_DISCONNECTED) {
+       if (call == NULL || call->status == OFONO_CALL_STATUS_DISCONNECTED) {
                memset(&rsp, 0, sizeof(rsp));
 
                ADD_ERROR_RESULT(rsp.result,
@@ -1745,7 +1745,7 @@ static void call_setup_connected(struct ofono_call *call, 
void *data)
                return;
        }
 
-       if (call->status == CALL_STATUS_ACTIVE)
+       if (call->status == OFONO_CALL_STATUS_ACTIVE)
                send_simple_response(stk, STK_RESULT_TYPE_SUCCESS);
        else
                send_simple_response(stk, STK_RESULT_TYPE_USER_CANCEL);
-- 
1.9.1

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to