broadband-modem-qmi: Fix compilation error due to variable name change

otherwise we fail with:

CC       ModemManager-mm-broadband-modem-qmi.o
mm-broadband-modem-qmi.c: In function ‘modem_load_current_bands’:
mm-broadband-modem-qmi.c:1881:35: error: ‘ctx’ undeclared (first use in this function)
     if (qmi_client_check_version (ctx->client, 1, 19)) {
                                   ^
mm-broadband-modem-qmi.c:1881:35: note: each undeclared identifier is reported only once for each function it appears in
This commit is contained in:
Guido Günther
2014-01-26 20:05:01 +01:00
committed by Aleksander Morgado
parent fdba981f8e
commit 983c197c6b
+1 -1
View File
@@ -1878,7 +1878,7 @@ modem_load_current_bands (MMIfaceModem *self,
#if defined WITH_NEWEST_QMI_COMMANDS
/* Introduced in NAS 1.19 */
if (qmi_client_check_version (ctx->client, 1, 19)) {
if (qmi_client_check_version (client, 1, 19)) {
qmi_client_nas_get_rf_band_information (QMI_CLIENT_NAS (client),
NULL,
5,