[PATCH] nas: fix RX/TX mixup

Bjørn Mork bjorn at mork.no
Fri Aug 19 08:36:11 UTC 2016


Don't know what I was thinking here, but the referenced channels
are of course *RX* channels. None of my modems can do TX CA. Yet :)

Signed-off-by: Bjørn Mork <bjorn at mork.no>
---
 data/qmi-service-nas.json | 4 ++--
 src/qmicli/qmicli-nas.c   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json
index 6a1e6e3ec043..70966789cd98 100644
--- a/data/qmi-service-nas.json
+++ b/data/qmi-service-nas.json
@@ -3211,7 +3211,7 @@
                      "format"     : "sequence",
                      "contents"   : [ { "name"   : "Physical Cell ID",
                                         "format" : "guint16"},
-                                      { "name"   : "Tx Channel",
+                                      { "name"   : "Rx Channel",
                                         "format" : "guint16" },
                                       { "name"          : "DL Bandwidth",
                                         "format"        : "guint32",
@@ -3230,7 +3230,7 @@
                      "format"     : "sequence",
                      "contents"   : [ { "name"   : "Physical Cell ID",
                                         "format" : "guint16"},
-                                      { "name"   : "Tx Channel",
+                                      { "name"   : "Rx Channel",
                                         "format" : "guint16" },
                                       { "name"          : "DL Bandwidth",
                                         "format"        : "guint32",
diff --git a/src/qmicli/qmicli-nas.c b/src/qmicli/qmicli-nas.c
index 2a72f84a5ad0..6e3d4aa656b5 100644
--- a/src/qmicli/qmicli-nas.c
+++ b/src/qmicli/qmicli-nas.c
@@ -2851,7 +2851,7 @@ get_lte_cphy_ca_info_ready (QmiClientNas *client,
         NULL)) {
         g_print ("Secondary Cell Info\n");
         g_print ("\tPhysical Cell ID: '%" G_GUINT16_FORMAT"'\n"
-                 "\tTX Channel: '%" G_GUINT16_FORMAT"'\n"
+                 "\tRX Channel: '%" G_GUINT16_FORMAT"'\n"
                  "\tDL Bandwidth: '%s'\n"
                  "\tLTE Band: '%s'\n"
                  "\tState: '%s'\n",
@@ -2870,7 +2870,7 @@ get_lte_cphy_ca_info_ready (QmiClientNas *client,
         NULL)) {
         g_print ("Primary Cell Info\n");
         g_print ("\tPhysical Cell ID: '%" G_GUINT16_FORMAT"'\n"
-                 "\tTX Channel: '%" G_GUINT16_FORMAT"'\n"
+                 "\tRX Channel: '%" G_GUINT16_FORMAT"'\n"
                  "\tDL Bandwidth: '%s'\n"
                  "\tLTE Band: '%s'\n",
                  pci, channel,
-- 
2.9.3



More information about the libqmi-devel mailing list