summaryrefslogtreecommitdiffstats
path: root/src/stk.c
diff options
context:
space:
mode:
authorJeevaka Badrappan <jeevaka.badrappan@elektrobit.com>2011-01-06 09:56:32 -0800
committerMarcel Holtmann <marcel@holtmann.org>2011-01-06 10:29:24 -0800
commitb9ead5e736bd17899737e549f8df5c2ad5ff67e2 (patch)
tree61dc5eb56ec69011fe4f12335c9164a1342e952c /src/stk.c
parent3cb77a72238fe08ba083dda35a8344a8ceb2033c (diff)
downloadofono-b9ead5e736bd17899737e549f8df5c2ad5ff67e2.tar.bz2
stk: Remove unwanted error check
Possible return values of __ofono_voicecall_tone_send are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
Diffstat (limited to 'src/stk.c')
-rw-r--r--src/stk.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/stk.c b/src/stk.c
index bec46ea7..932e49aa 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -2170,11 +2170,6 @@ static gboolean handle_command_send_dtmf(const struct stk_command *cmd,
err = __ofono_voicecall_tone_send(vc, dtmf, dtmf_sent_cb, stk);
- if (err == -EBUSY) {
- rsp->result.type = STK_RESULT_TYPE_TERMINAL_BUSY;
- return TRUE;
- }
-
if (err == -ENOSYS) {
rsp->result.type = STK_RESULT_TYPE_NOT_CAPABLE;
return TRUE;