diff options
-rw-r--r-- | drivers/atmodem/ussd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/atmodem/ussd.c b/drivers/atmodem/ussd.c index 4747f111..443251aa 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); } |