[PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-15 Thread Jeevaka Badrappan
--- src/stk.c | 122 +++- 1 files changed, 119 insertions(+), 3 deletions(-) diff --git a/src/stk.c b/src/stk.c index 4df23b5..6cc3be3 100644 --- a/src/stk.c +++ b/src/stk.c @@ -77,6 +77,8 @@ struct ofono_stk { struct timeval

Re: [PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-15 Thread jeevaka . badrappan
Hi, @@ -529,7 +531,12 @@ static void stk_alpha_id_set(struct ofono_stk *stk, static void stk_alpha_id_unset(struct ofono_stk *stk) { - stk_agent_request_cancel(stk-current_agent); + /* + * If there is no default agent, then current agent also will be NULL. + * So, call

Re: [PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-15 Thread Denis Kenzior
Hi Jeevaka, On 07/15/2011 07:46 AM, jeevaka.badrap...@linux.intel.com wrote: Hi, @@ -529,7 +531,12 @@ static void stk_alpha_id_set(struct ofono_stk *stk, static void stk_alpha_id_unset(struct ofono_stk *stk) { -stk_agent_request_cancel(stk-current_agent); +/* + * If there

Re: [PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-15 Thread Denis Kenzior
Hi Andrew, Jeevaka, snip +static void proactive_command_handled_end(struct ofono_stk *stk) +{ + stk-modem_handled_cmd = FALSE; + + if (stk-pending_cmd == NULL) + return; + + switch(stk-pending_cmd-type) { + case STK_COMMAND_TYPE_SETUP_CALL: + { +

Re: [PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-15 Thread jeevaka . badrappan
Hi Denis, +static void proactive_command_handled_end(struct ofono_stk *stk) +{ +stk-modem_handled_cmd = FALSE; + +if (stk-pending_cmd == NULL) +return; + +switch(stk-pending_cmd-type) { +case STK_COMMAND_TYPE_SETUP_CALL: +{ +struct

Re: [PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-15 Thread Denis Kenzior
Hi Jeevaka, On 07/15/2011 11:45 AM, jeevaka.badrap...@linux.intel.com wrote: Hi Denis, +static void proactive_command_handled_end(struct ofono_stk *stk) +{ + stk-modem_handled_cmd = FALSE; + + if (stk-pending_cmd == NULL) + return; + + switch(stk-pending_cmd-type) { +

[PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-06 Thread Jeevaka Badrappan
--- src/stk.c | 108 +++- 1 files changed, 106 insertions(+), 2 deletions(-) diff --git a/src/stk.c b/src/stk.c index 9575f0e..26faa11 100644 --- a/src/stk.c +++ b/src/stk.c @@ -77,6 +77,8 @@ struct ofono_stk { struct timeval

Re: [PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-06 Thread Andrzej Zaborowski
Hi Jeevaka, On 6 July 2011 12:06, Jeevaka Badrappan jeevaka.badrap...@linux.intel.com wrote: ---  src/stk.c |  108 +++-  1 files changed, 106 insertions(+), 2 deletions(-) diff --git a/src/stk.c b/src/stk.c index 9575f0e..26faa11

Re: [PATCH 3/4] stk: Handle set up call in handled_notify

2011-07-06 Thread Denis Kenzior
Hi Jeevaka, On 07/06/2011 05:06 AM, Jeevaka Badrappan wrote: --- src/stk.c | 108 +++- 1 files changed, 106 insertions(+), 2 deletions(-) diff --git a/src/stk.c b/src/stk.c index 9575f0e..26faa11 100644 --- a/src/stk.c +++