[PATCH v3 1/2] command-nas: fix cmd_nas_get_cell_location_info_cb

Jan-Niklas Burfeind git at aiyionpri.me
Tue Mar 8 07:01:43 PST 2022


Correct order of rsrp and rsrq parameters for print_lte_info.

Signed-off-by: Jan-Niklas Burfeind <git at aiyionpri.me>
---
 commands-nas.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands-nas.c b/commands-nas.c
index 01ca3b8..275c53f 100644
--- a/commands-nas.c
+++ b/commands-nas.c
@@ -688,7 +688,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);
-- 
2.35.1




More information about the openwrt-devel mailing list