diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-08 23:44:58 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-09 10:19:53 +0100 |
commit | d29bfb5a22339d883e5f7448371c3bbb71610945 (patch) | |
tree | 0e1e6de94b196f2f7d08a62dfae6b078f5d7f955 /docs | |
parent | 2801fb42fd585bb82a54c053d5a27f62e8df9dfe (diff) | |
download | external_libqmi-d29bfb5a22339d883e5f7448371c3bbb71610945.zip external_libqmi-d29bfb5a22339d883e5f7448371c3bbb71610945.tar.gz external_libqmi-d29bfb5a22339d883e5f7448371c3bbb71610945.tar.bz2 |
libqmi-glib,device: new qmi_device_close_async() operation
The sync close operation that was implemented was partially useless
because the source responsible for I/O was scheduled in the main
context, so we were really relying on that main context to be still
running to properly finish the operation. i.e. a qmi_device_close()
after the default main loop was stopped would always end up with a
timeout error, as the response was never read.
So, we now modify the sync operation so that it doesn't do any explicit
wait for the response, we just issue the MBIM close command.
And we provide a new async operation that may be used to wait for the
MBIM close response.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/libqmi-glib/libqmi-glib-common.sections | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/reference/libqmi-glib/libqmi-glib-common.sections b/docs/reference/libqmi-glib/libqmi-glib-common.sections index 6edf5fe..891d9be 100644 --- a/docs/reference/libqmi-glib/libqmi-glib-common.sections +++ b/docs/reference/libqmi-glib/libqmi-glib-common.sections @@ -65,6 +65,8 @@ qmi_device_is_open qmi_device_open qmi_device_open_finish qmi_device_close +qmi_device_close_async +qmi_device_close_finish qmi_device_allocate_client qmi_device_allocate_client_finish qmi_device_release_client |