atmodem: Add more debug for USSD response parsing

This commit is contained in:
Marcel Holtmann 2012-01-12 04:01:07 +01:00
parent 7f431e714f
commit f654d75182
1 changed files with 4 additions and 0 deletions

View File

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