diff options
author | Ben Chan <benchan@chromium.org> | 2014-02-18 12:43:26 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2014-02-19 18:52:17 -0600 |
commit | 8327db70b9b5b08481ce1666d7a0192f306ff5ee (patch) | |
tree | 0204c36e4fbf30880f8f3606b28a01a5338af24a /src | |
parent | 1bd939d4b8e6e5d28ffdb9cd63e7b9c560469b1d (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-broadband-modem-mbim.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c index 714cb700..f1f786c4 100644 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -1897,9 +1897,9 @@ common_enable_disable_unsolicited_events_finish (MMBroadbandModemMbim *self, } static void -subscriber_list_set_ready_cb (MbimDevice *device, - GAsyncResult *res, - GSimpleAsyncResult *simple) +subscribe_list_set_ready_cb (MbimDevice *device, + GAsyncResult *res, + GSimpleAsyncResult *simple) { MbimMessage *response; GError *error = NULL; @@ -1970,7 +1970,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)); @@ -1978,7 +1978,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); |