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.
This commit is contained in:
Kai Vehmanen 2011-01-20 16:13:01 +02:00 committed by Aki Niemi
parent 2a7fa4de4e
commit 0a5ef0a9c8
1 changed files with 1 additions and 1 deletions

View File

@ -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;