broadband-modem-mbim: log about all received notifications
This commit is contained in:
@@ -1761,7 +1761,15 @@ device_notification_cb (MbimDevice *device,
|
|||||||
MbimMessage *notification,
|
MbimMessage *notification,
|
||||||
MMBroadbandModemMbim *self)
|
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:
|
case MBIM_SERVICE_BASIC_CONNECT:
|
||||||
basic_connect_notification (self, notification);
|
basic_connect_notification (self, notification);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user