broadband-modem-mbim: update to use mbim_message_device_service_subscribe_list

libmbim renames 'MBIM_CID_DEVICE_SERVICE_SUBSCRIBER_LIST' to
'MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST' to be consistent with the MBIM
specification. This patch updates MMBroadbandModemMbim accordingly.
This commit is contained in:
Ben Chan
2014-02-18 12:43:26 -08:00
committed by Aleksander Morgado
parent a2ef167ccd
commit a7da3fc387

View File

@@ -1968,7 +1968,7 @@ common_enable_disable_unsolicited_events_finish (MMBroadbandModemMbim *self,
}
static void
subscriber_list_set_ready_cb (MbimDevice *device,
subscribe_list_set_ready_cb (MbimDevice *device,
GAsyncResult *res,
GSimpleAsyncResult *simple)
{
@@ -2045,7 +2045,7 @@ common_enable_disable_unsolicited_events (MMBroadbandModemMbim *self,
n_entries++;
}
request = (mbim_message_device_service_subscriber_list_set_new (
request = (mbim_message_device_service_subscribe_list_set_new (
n_entries,
(const MbimEventEntry *const *)entries,
NULL));
@@ -2053,7 +2053,7 @@ common_enable_disable_unsolicited_events (MMBroadbandModemMbim *self,
request,
10,
NULL,
(GAsyncReadyCallback)subscriber_list_set_ready_cb,
(GAsyncReadyCallback)subscribe_list_set_ready_cb,
result);
mbim_message_unref (request);
mbim_event_entry_array_free (entries);