diff options
author | Jeevaka Badrappan <jeevaka.badrappan@elektrobit.com> | 2011-01-06 09:56:32 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-01-06 10:29:24 -0800 |
commit | b9ead5e736bd17899737e549f8df5c2ad5ff67e2 (patch) | |
tree | 61dc5eb56ec69011fe4f12335c9164a1342e952c /src/stk.c | |
parent | 3cb77a72238fe08ba083dda35a8344a8ceb2033c (diff) | |
download | ofono-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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; |