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 is no default agent, then current agent also will be NULL. >> + * So, call request cancel only when there is a valid current agent. >> + */ >> + if (stk->current_agent) >> + stk_agent_request_cancel(stk->current_agent); >> } >> > > If needed, I can send this code change alone in a separate fix patch. >
It sounds like you were getting a crash with this one, so please send it as a separate patch. Regards, -Denis _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono