From e2c6c66d0c94000e34d621b2e1b11f772dcd0552 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 5 Aug 2012 20:42:44 +0200 Subject: [PATCH] broadband-modem-qmi: fix method name Sync with libqmi: commit cc97645578d937417bb2d72d22714776a98c549e Author: Aleksander Morgado Date: Thu Aug 2 12:15:05 2012 +0200 nas: don't mistake 'change duration' with 'preference duration' They actually have POWER_CYCLE and PERMANENT values swapped. Kudos to the one who decided that. --- src/mm-broadband-modem-qmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mm-broadband-modem-qmi.c b/src/mm-broadband-modem-qmi.c index 33501653..16d09740 100644 --- a/src/mm-broadband-modem-qmi.c +++ b/src/mm-broadband-modem-qmi.c @@ -2162,7 +2162,7 @@ set_allowed_modes_context_step (SetAllowedModesContext *ctx) qmi_message_nas_set_system_selection_preference_input_set_gsm_wcdma_acquisition_order_preference (input, order, NULL); } - qmi_message_nas_set_system_selection_preference_input_set_preference_duration (input, QMI_NAS_PREFERENCE_DURATION_PERMANENT, NULL); + qmi_message_nas_set_system_selection_preference_input_set_change_duration (input, QMI_NAS_CHANGE_DURATION_PERMANENT, NULL); qmi_client_nas_set_system_selection_preference ( ctx->client,