From 19bd63ecfd02c02148e4efeab0a0b7a0476abac1 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 24 Jun 2013 18:32:50 +0200 Subject: [PATCH] broadband-modem-mbim: log about all received notifications --- src/mm-broadband-modem-mbim.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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;