Print out info about CP-ERROR

This commit is contained in:
Daniel Willmann 2008-12-29 03:53:50 +00:00
parent aecbbed5e4
commit bb16e8e39a
1 changed files with 4 additions and 0 deletions

View File

@ -202,7 +202,11 @@ int gsm0411_rcv_sms(struct msgb *msg)
rc = gsm411_cp_data(msg);
break;
case GSM411_MT_CP_ACK:
DEBUGP(DSMS, "SMS CP-ACK\n");
break;
case GSM411_MT_CP_ERROR:
DEBUGP(DSMS, "SMS CP-ERROR, cause 0x%02x\n", gh->data[0]);
break;
default:
DEBUGP(DSMS, "Unimplemented CP msg_type: 0x%02x\n", msg_type);
break;