summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/siano/smscoreapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/siano/smscoreapi.c')
-rw-r--r--drivers/media/common/siano/smscoreapi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/common/siano/smscoreapi.c b/drivers/media/common/siano/smscoreapi.c
index c04d8267adba..92eea545ed4e 100644
--- a/drivers/media/common/siano/smscoreapi.c
+++ b/drivers/media/common/siano/smscoreapi.c
@@ -1495,7 +1495,7 @@ void smscore_onresponse(struct smscore_device_t *coredev,
last_sample_time = time_now;
if (time_now - last_sample_time > 10000) {
- sms_debug("\ndata rate %d bytes/secs",
+ sms_debug("data rate %d bytes/secs",
(int)((data_total * 1000) /
(time_now - last_sample_time)));
@@ -1606,7 +1606,9 @@ void smscore_onresponse(struct smscore_device_t *coredev,
break;
default:
- sms_debug("message not handled.\n");
+ sms_debug("message %s(%d) not handled.",
+ smscore_translate_msg(phdr->msgType),
+ phdr->msgType);
break;
}
smscore_putbuffer(coredev, cb);