[PATCH] broadband-modem-mbim: update to use mbim_message_device_service_subscribe_list
Ben Chan
benchan at chromium.org
Tue Feb 18 12:43:26 PST 2014
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 patch needs to be coordinated with the corresponding libmbim change.
Ben
src/mm-broadband-modem-mbim.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/mm-broadband-modem-mbim.c b/src/mm-broadband-modem-mbim.c
index 714cb70..f1f786c 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);
--
1.9.0.rc1.175.g0b1dcb5
More information about the ModemManager-devel
mailing list