diff options
author | vpodshiv <vladimir.podshivalov@outlook.com> | 2021-12-27 12:56:29 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-12-31 10:25:47 +0100 |
commit | 2aaeb290177a647cdbb053981d3b1406b330205e (patch) | |
tree | dd70a96be1423cf60114b28adc602720dec5f48f | |
parent | 70656dd5dd90e8bc6557eb043b609cffc5fb7a24 (diff) | |
download | libqmi-2aaeb290177a647cdbb053981d3b1406b330205e.tar.gz |
qmi-proxy: removing assert when attempting to close ghost device
device list is only updated in 'device_open_ready' callback
when the new QMI device is fully opened. So the call to
device_close_if_unused may lead to an assert
if prior to 'device_open_ready' processing
(cherry picked from commit 869f578c6d64320c64a1b0baa4414af074bbf151)
-rw-r--r-- | src/libqmi-glib/qmi-proxy.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libqmi-glib/qmi-proxy.c b/src/libqmi-glib/qmi-proxy.c index 0b39a01c..094148ed 100644 --- a/src/libqmi-glib/qmi-proxy.c +++ b/src/libqmi-glib/qmi-proxy.c @@ -793,8 +793,6 @@ device_close_if_unused (QmiProxy *self, return; } } - - g_assert_not_reached (); } /*****************************************************************************/ |