aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmicli/qmicli-nas.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-01-22 19:01:08 +0100
committerAleksander Morgado <aleksander@aleksander.es>2017-01-29 10:37:53 +0100
commitb6190674bd57fa760c601d760a29caf4d8373918 (patch)
treed04cd0332caaf129c351d7d23066c717d5d717a6 /src/qmicli/qmicli-nas.c
parentc0543fff0d95ae40e0d4eed75ab4ca564b9c21b3 (diff)
downloadexternal_libqmi-b6190674bd57fa760c601d760a29caf4d8373918.zip
external_libqmi-b6190674bd57fa760c601d760a29caf4d8373918.tar.gz
external_libqmi-b6190674bd57fa760c601d760a29caf4d8373918.tar.bz2
qmicli: allow skipping CID release after successful operation
E.g. if the command requested will end up power cycling the device and therefore not even supporting the cid release operation, as in the "HP Change Device Mode" command. [22 ene 2017, 18:42:23] [Debug] [/dev/cdc-wdm1] sent generic request (translated)... <<<<<< QMUX: <<<<<< length = 16 <<<<<< flags = 0x00 <<<<<< service = "ctl" <<<<<< client = 0 <<<<<< QMI: <<<<<< flags = "none" <<<<<< transaction = 2 <<<<<< tlv_length = 5 <<<<<< message = "Release CID" (0x0023) <<<<<< TLV: <<<<<< type = "Release Info" (0x01) <<<<<< length = 2 <<<<<< value = 02:02 <<<<<< translated = [ service = 'dms' cid = '2' ] [22 ene 2017, 18:42:23] [Debug] [/dev/cdc-wdm1] sending message as MBIM... error: couldn't release client: MBIM error: Transaction timed out
Diffstat (limited to 'src/qmicli/qmicli-nas.c')
-rw-r--r--src/qmicli/qmicli-nas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmicli/qmicli-nas.c b/src/qmicli/qmicli-nas.c
index 73125ac..b056bea 100644
--- a/src/qmicli/qmicli-nas.c
+++ b/src/qmicli/qmicli-nas.c
@@ -203,7 +203,7 @@ operation_shutdown (gboolean operation_status)
{
/* Cleanup context and finish async operation */
context_free (ctx);
- qmicli_async_operation_done (operation_status);
+ qmicli_async_operation_done (operation_status, FALSE);
}
static gboolean