From e744f9159d0bceab4e7ec4073cb2f62f4f2e06d8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 1 Jan 2013 21:03:23 -0600 Subject: Revert "stk: Fix crash in SIM refresh handling" This reverts commit dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5. --- src/stk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stk.c') diff --git a/src/stk.c b/src/stk.c index 5ca02504..6278930a 100644 --- a/src/stk.c +++ b/src/stk.c @@ -2318,7 +2318,7 @@ static gboolean handle_command_refresh(const struct stk_command *cmd, g_slist_foreach(file_list, (GFunc) g_free, NULL); g_slist_free(file_list); - return TRUE; + return FALSE; } rsp->result.type = STK_RESULT_TYPE_NOT_CAPABLE; @@ -3095,7 +3095,7 @@ void ofono_stk_proactive_command_handled_notify(struct ofono_stk *stk, break; case STK_COMMAND_TYPE_REFRESH: - ok = handle_command_refresh(stk->pending_cmd, NULL, stk); + handle_command_refresh(stk->pending_cmd, NULL, stk); break; } -- cgit v1.2.3