diff options
| author | David Bauer | 2025-04-20 01:27:39 +0000 |
|---|---|---|
| committer | David Bauer | 2025-04-20 01:27:39 +0000 |
| commit | a933061911aa4c49e953af618c3fb02ce6014142 (patch) | |
| tree | 33adc1349133b293ca9128d35668821333fcb1bc | |
| parent | 28b48a10dbcd1177095b73c6d8086d10114f49b8 (diff) | |
| download | uqmi-a933061911aa4c49e953af618c3fb02ce6014142.tar.gz | |
uqmi nas: fix incorrect parameter order
print_lte_info has been called with incorrect argument order in all places.
Fix the method signature so RSRP and RSRQ are correctly represented in
the output.
Signed-off-by: David Bauer <mail@david-bauer.net>
| -rw-r--r-- | uqmi/commands-nas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uqmi/commands-nas.c b/uqmi/commands-nas.c index 04804f5..f744155 100644 --- a/uqmi/commands-nas.c +++ b/uqmi/commands-nas.c @@ -801,7 +801,7 @@ cmd_nas_get_tx_rx_info_prepare(struct qmi_dev *qmi, struct qmi_request *req, str } static void -print_lte_info(int32_t cell_id, int16_t rsrp, int16_t rsrq, int16_t rssi) +print_lte_info(int32_t cell_id, int16_t rsrq, int16_t rsrp, int16_t rssi) { blobmsg_add_u32(&status, "physical_cell_id", cell_id); blobmsg_add_double(&status, "rsrq", ((double)rsrq)/10); |