From 3e920c463fb6ac781b85c9542a503d6a63286431 Mon Sep 17 00:00:00 2001 From: Milanka Ringwald Date: Thu, 14 Jan 2016 10:27:37 +0100 Subject: [PATCH] hfp ag: remove gsm code from ag for now --- src/hfp_ag.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/hfp_ag.c b/src/hfp_ag.c index 939e2c9c5..cc7ac4ed0 100644 --- a/src/hfp_ag.c +++ b/src/hfp_ag.c @@ -1391,11 +1391,11 @@ static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * connect case HFP_AG_OUTGOING_CALL_INITIATED: // directly reject call if number of free slots is exceeded - if (!hfp_gsm_call_possible()){ - connection->send_error = 1; - hfp_run_for_context(connection); - break; - } + // if (!hfp_gsm_call_possible()){ + // connection->send_error = 1; + // hfp_run_for_context(connection); + // break; + // } hfp_gsm_handle_event(HFP_AG_OUTGOING_CALL_INITIATED); connection->call_state = HFP_CALL_OUTGOING_INITIATED; @@ -1404,11 +1404,11 @@ static void hfp_ag_call_sm(hfp_ag_call_event_t event, hfp_connection_t * connect case HFP_AG_OUTGOING_REDIAL_INITIATED: // directly reject call if number of free slots is exceeded - if (!hfp_gsm_call_possible()){ - connection->send_error = 1; - hfp_run_for_context(connection); - break; - } + // if (!hfp_gsm_call_possible()){ + // connection->send_error = 1; + // hfp_run_for_context(connection); + // break; + // } hfp_gsm_handle_event(HFP_AG_OUTGOING_REDIAL_INITIATED); connection->call_state = HFP_CALL_OUTGOING_INITIATED;