diff options
author | Pekka Pessi <Pekka.Pessi@nokia.com> | 2011-01-04 14:20:39 +0200 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2011-01-07 13:32:27 +0200 |
commit | a3f491a82b15bc25919be64717558463938e15dd (patch) | |
tree | 4151df72174281389c4704830ef112c674e58f37 | |
parent | b72c01173ab288256c8e27fd793cae92d48363e3 (diff) | |
download | ofono-a3f491a82b15bc25919be64717558463938e15dd.tar.bz2 |
isimodem: include complete ISI message in trace
-rw-r--r-- | drivers/isimodem/debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isimodem/debug.c b/drivers/isimodem/debug.c index 5ae9ac19..c99613f8 100644 --- a/drivers/isimodem/debug.c +++ b/drivers/isimodem/debug.c @@ -1082,7 +1082,8 @@ void isi_trace(const GIsiMessage *msg, void *data) uint8_t res = g_isi_msg_resource(msg); const char *resname = pn_resource_name(res); const char *name = res_to_name(res, id); + uint8_t const *dump = g_isi_msg_data(msg); hex_dump(resname, res, name, id, g_isi_msg_utid(msg), - g_isi_msg_data(msg), g_isi_msg_data_len(msg)); + dump - 2, g_isi_msg_data_len(msg) + 2); } |