diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-07-10 10:17:01 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-07-10 10:17:05 +0200 |
commit | ecd188ff0126866199fd453e962ba54ba1dce290 (patch) | |
tree | c27028a96a7dbf1ed960ecc3e5b2d1d83dbbb41f /src/libmbim-glib | |
parent | 0590b7e911df6e014fa6a7ec48a291f33a53d580 (diff) |
libmbim-glib,proxy: fix reporting of merged subscribe list
We were doing the subscribe list merge correctly, but not reporting it
as done because the 'updated' pointer is set to NULL before returning
it.
This was breaking QMI over MBIM indications, as the registration
message to request them was never sent to the device.
Diffstat (limited to 'src/libmbim-glib')
-rw-r--r-- | src/libmbim-glib/mbim-proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmbim-glib/mbim-proxy.c b/src/libmbim-glib/mbim-proxy.c index 93b36ad..af1391b 100644 --- a/src/libmbim-glib/mbim-proxy.c +++ b/src/libmbim-glib/mbim-proxy.c @@ -1297,8 +1297,8 @@ merge_client_service_subscribe_lists (MbimProxy *self, ctx->mbim_event_entry_array_size); } - *out_size = updated_size; - return updated; + *out_size = ctx->mbim_event_entry_array_size; + return ctx->mbim_event_entry_array; } static void |