aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-06-24 18:32:50 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-06-24 19:37:38 +0200
commit19bd63ecfd02c02148e4efeab0a0b7a0476abac1 (patch)
tree115bb8a534ef9b9d3711d71ed467d83fa8b65536 /src
parent697b6fdadb7f61b2430f64426bfa0a3f5fcfdfb3 (diff)
broadband-modem-mbim: log about all received notifications
Diffstat (limited to 'src')
-rw-r--r--src/mm-broadband-modem-mbim.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index 2b309d27..1ec3fbca 100644
--- a/src/mm-broadband-modem-mbim.c
+++ b/src/mm-broadband-modem-mbim.c
@@ -1761,7 +1761,15 @@ device_notification_cb (MbimDevice *device,
MbimMessage *notification,
MMBroadbandModemMbim *self)
{
- switch (mbim_message_indicate_status_get_service (notification)) {
+ MbimService service;
+
+ service = mbim_message_indicate_status_get_service (notification);
+ mm_dbg ("Received notification (service '%s', command '%s')",
+ mbim_service_get_string (service),
+ mbim_cid_get_printable (service,
+ mbim_message_indicate_status_get_cid (notification)));
+
+ switch (service) {
case MBIM_SERVICE_BASIC_CONNECT:
basic_connect_notification (self, notification);
break;