summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-03-20 16:27:20 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-03-20 16:39:10 +0100
commitacd751e58b394f447737f1bd2e4d1141ca10571d (patch)
tree9716347cca6652fabdac278e4e75114a674576e9
parente0fec3afd85c6a4647cd603631730f4debb2b366 (diff)
qmicli,pdc: use correct input string for --deactivate-config
Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/issues/24 (cherry picked from commit 8cd6bced3dda5de9633ba3b00c63ed1f90d6e195)
-rw-r--r--src/qmicli/qmicli-pdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmicli/qmicli-pdc.c b/src/qmicli/qmicli-pdc.c
index e5678d5..631bcff 100644
--- a/src/qmicli/qmicli-pdc.c
+++ b/src/qmicli/qmicli-pdc.c
@@ -914,7 +914,7 @@ set_selected_config_ready_indication_deactivation (QmiClientPdc *client,
return;
}
- input = deactivate_config_input_create (activate_config_str);
+ input = deactivate_config_input_create (deactivate_config_str);
if (!input) {
operation_shutdown (FALSE);
return;
@@ -1280,7 +1280,7 @@ qmicli_pdc_run (QmiDevice *device,
QmiMessagePdcSetSelectedConfigInput *input;
g_debug ("Deactivating config asynchronously...");
- input = set_selected_config_input_create (activate_config_str);
+ input = set_selected_config_input_create (deactivate_config_str);
if (!input) {
operation_shutdown (FALSE);
return;