summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-10-12 16:35:43 +0200
committerAleksander Morgado <aleksander@aleksander.es>2020-10-12 16:43:48 +0200
commit2027e5d09107aa6a2215166708126be0cd534c51 (patch)
treeca8ebf76a4360d52e0fff6f24bf15e444ed707ea
parent05cdfb47d7c1de97991d4102fabe093eef44f3b8 (diff)
qmicli,nas: fix element types used in 'Get Cell Location Info' handling
-rw-r--r--src/qmicli/qmicli-nas.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/qmicli/qmicli-nas.c b/src/qmicli/qmicli-nas.c
index cfb65de..bbee779 100644
--- a/src/qmicli/qmicli-nas.c
+++ b/src/qmicli/qmicli-nas.c
@@ -2904,9 +2904,9 @@ get_cell_location_info_ready (QmiClientNas *client,
g_free (plmn);
for (i = 0; i < array->len; i++) {
- QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement *element;
+ QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2CellElement *element;
- element = &g_array_index (array, QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement, i);
+ element = &g_array_index (array, QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2CellElement, i);
g_print ("\tCell [%u]:\n"
"\t\tUTRA Absolute RF Channel Number: '%" G_GUINT16_FORMAT"'\n"
"\t\tPrimary Scrambling Code: '%" G_GUINT16_FORMAT"'\n"
@@ -2920,9 +2920,9 @@ get_cell_location_info_ready (QmiClientNas *client,
}
for (i = 0; i < array2->len; i++) {
- QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement *element;
+ QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2NeighboringGeranElement *element;
- element = &g_array_index (array2, QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement, i);
+ element = &g_array_index (array2, QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2NeighboringGeranElement, i);
g_print ("\tNeighboring GERAN Cell [%u]:\n"
"\t\tGERAN Absolute RF Channel Number: '%" G_GUINT16_FORMAT"'\n",
i,
@@ -3013,9 +3013,9 @@ get_cell_location_info_ready (QmiClientNas *client,
s_intra_search_threshold);
for (i = 0; i < array->len; i++) {
- QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement *element;
+ QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement *element;
- element = &g_array_index (array, QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement, i);
+ element = &g_array_index (array, QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement, i);
g_print ("\tCell [%u]:\n"
"\t\tPhysical Cell ID: '%" G_GUINT16_FORMAT"'\n"
"\t\tRSRQ: '%.1lf' dB\n"