add msg type to SMS rx logging

Change-Id: I73ea4eebe57b2d1008045a27f174072178b9f077
Neels Hofmeyr 2017-07-18 01:52:16 +02:00 committed by Neels Hofmeyr
parent a00ac025bb
commit 31a11aa75b
1 changed files with 3 additions and 1 deletions

View File

@ -917,7 +917,9 @@ int gsm0411_rcv_sms(struct gsm_subscriber_connection *conn,
return -EIO;
/* FIXME: send some error message */
DEBUGP(DLSMS, "receiving data (trans_id=%x)\n", transaction_id);
DEBUGP(DLSMS, "receiving data (trans_id=%x, msg_type=%s)\n", transaction_id,
gsm48_pdisc_msgtype_name(gsm48_hdr_pdisc(gh), gsm48_hdr_msg_type(gh)));
trans = trans_find_by_id(conn, GSM48_PDISC_SMS, transaction_id);