From f654d751829932a7a102bcd7e7489c266818f814 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 12 Jan 2012 04:01:07 +0100 Subject: [PATCH] atmodem: Add more debug for USSD response parsing --- drivers/atmodem/ussd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/atmodem/ussd.c b/drivers/atmodem/ussd.c index 4747f11..443251a 100644 --- a/drivers/atmodem/ussd.c +++ b/drivers/atmodem/ussd.c @@ -130,6 +130,8 @@ static void cusd_parse(GAtResult *result, struct ofono_ussd *ussd) goto out; } + DBG("response charset %d modem charset %d", charset, data->charset); + switch (charset) { case SMS_CHARSET_7BIT: switch (data->charset) { @@ -160,6 +162,8 @@ static void cusd_parse(GAtResult *result, struct ofono_ussd *ussd) break; } + DBG("msg ptr %p msg len %ld", msg_ptr, msg_len); + out: ofono_ussd_notify(ussd, status, dcs, msg_ptr, msg_ptr ? msg_len : 0); } -- 2.7.4