diff options
author | Ben Chan <benchan@chromium.org> | 2014-02-18 12:43:26 -0800 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-03-06 14:31:29 +0100 |
commit | a7da3fc387749182bfdd680b8b4c6526ea65e021 (patch) | |
tree | a865c0309371bce9db79c6b5004cca2ee5455e09 | |
parent | a2ef167ccd476e2574b598df8786582664f6c570 (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.
-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 554e7175..bd914439 100644 --- a/src/mm-broadband-modem-mbim.c +++ b/src/mm-broadband-modem-mbim.c @@ -1968,9 +1968,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; @@ -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); |