From e8e6d519fe5ca077346cafd6e342a8f0a6c3f0f9 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 19 Aug 2009 18:07:33 -0500 Subject: [PATCH] Fix release specific not reporting proper reason The proper disconnect reason was not being reported in the at modem voicecall plugin --- drivers/atmodem/voicecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index cd6437f..c66872a 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -352,7 +352,7 @@ static void release_id_cb(gboolean ok, GAtResult *result, decode_at_error(&error, g_at_result_final_response(result)); if (ok) - vd->local_release = req->id; + vd->local_release = 0x1 << req->id; g_at_chat_send(vd->chat, "AT+CLCC", clcc_prefix, clcc_poll_cb, req->vc, NULL); -- 2.7.4