diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-11-22 06:47:23 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-11-22 06:50:08 -0600 |
commit | dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5 (patch) | |
tree | f302d0289d95841159e914b453222dfbd1910321 | |
parent | 9d9ae3af28fcf3572551630a0bef160f001a6987 (diff) | |
download | ofono-dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5.tar.bz2 |
stk: Fix crash in SIM refresh handling
-rw-r--r-- | src/stk.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2284,7 +2284,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 FALSE; + return TRUE; } rsp->result.type = STK_RESULT_TYPE_NOT_CAPABLE; @@ -3015,7 +3015,7 @@ void ofono_stk_proactive_command_handled_notify(struct ofono_stk *stk, break; case STK_COMMAND_TYPE_REFRESH: - handle_command_refresh(stk->pending_cmd, NULL, stk); + ok = handle_command_refresh(stk->pending_cmd, NULL, stk); break; } |