summaryrefslogtreecommitdiffstats
path: root/drivers/isimodem
diff options
context:
space:
mode:
authorKai Vehmanen <kai.vehmanen@nokia.com>2011-01-20 16:13:01 +0200
committerAki Niemi <aki.niemi@nokia.com>2011-01-21 15:19:52 +0200
commit0a5ef0a9c8b60044d009f8e05f3d8bdc8f267faa (patch)
treeafc31625a7fd659f142b1877ced4812aecb19a28 /drivers/isimodem
parent2a7fa4de4ec2d2f5ecd567ad9331092ed814ba3d (diff)
downloadofono-0a5ef0a9c8b60044d009f8e05f3d8bdc8f267faa.tar.bz2
isimodem: fix sending DTMF
isi_call_dtmf_send_resp() handles the success case incorrectly, and thus all send_tones attempts fail with bogus error codes.
Diffstat (limited to 'drivers/isimodem')
-rw-r--r--drivers/isimodem/voicecall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isimodem/voicecall.c b/drivers/isimodem/voicecall.c
index 9aa9454d..55f4c17e 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;