All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] stk: Remove unwanted error check
@ 2011-01-06 17:56 Jeevaka Badrappan
  2011-01-06 18:29 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Jeevaka Badrappan @ 2011-01-06 17:56 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 666 bytes --]

Possible return values of  __ofono_voicecall_tone_send
are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
---
 src/stk.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/stk.c b/src/stk.c
index bec46ea..932e49a 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;
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] stk: Remove unwanted error check
  2011-01-06 17:56 [PATCH] stk: Remove unwanted error check Jeevaka Badrappan
@ 2011-01-06 18:29 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2011-01-06 18:29 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 266 bytes --]

Hi Jeevaka,

> Possible return values of  __ofono_voicecall_tone_send
> are -ENOSYS, -ENOENT, -ENOMEM and -EINVAL.
> ---
>  src/stk.c |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)

patch has been applied. Thanks.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-01-06 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 17:56 [PATCH] stk: Remove unwanted error check Jeevaka Badrappan
2011-01-06 18:29 ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.