Re: [PATCH] isimodem: fix sending DTMF

2011-01-21 Thread Aki Niemi
Hi Kai,

2011/1/20 Kai Vehmanen kai.vehma...@nokia.com:
 isi_call_dtmf_send_resp() handles the success case incorrectly, and
 thus all send_tones attempts fail with bogus error codes.
 ---
  drivers/isimodem/voicecall.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

Patch has been pushed, thanks!

Cheers,
Aki
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


[PATCH] isimodem: fix sending DTMF

2011-01-20 Thread Kai Vehmanen
isi_call_dtmf_send_resp() handles the success case incorrectly, and
thus all send_tones attempts fail with bogus error codes.
---
 drivers/isimodem/voicecall.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index e5842aa..acbaa63 100644
--- a/drivers/isimodem/voicecall.c
+++ b/drivers/isimodem/voicecall.c
@@ -865,7 +865,7 @@ static void isi_call_dtmf_send_resp(const GIsiMessage *msg, 
void *data)
struct isi_call_req_ctx *irc = data;
GIsiSubBlockIter iter;
uint8_t cause_type;
-   uint8_t cause;
+   uint8_t cause = CALL_CAUSE_NO_CAUSE;
 
if (!check_response_status(msg, CALL_DTMF_SEND_RESP))
goto error;
-- 
1.7.0.4

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono