summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2013-01-01 21:03:23 -0600
committerDenis Kenzior <denkenz@gmail.com>2013-01-01 21:03:23 -0600
commite744f9159d0bceab4e7ec4073cb2f62f4f2e06d8 (patch)
tree7718668b1612fc8d1edd9f905fc88c46eeed55db /src/stk.c
parent3e996d9e1fe220dc44183d5f2c95d0ef2e51e390 (diff)
downloadofono-e744f9159d0bceab4e7ec4073cb2f62f4f2e06d8.tar.bz2
Revert "stk: Fix crash in SIM refresh handling"
This reverts commit dfd1fae50b8197b0b4ed81fed3139726e4ae1bf5.
Diffstat (limited to 'src/stk.c')
-rw-r--r--src/stk.c4
1 files changed, 2 insertions, 2 deletions
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;
}