diff mbox series

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

Message ID 20220308150144.1617236-1-git@aiyionpri.me
State New
Headers show
Series [v3,1/2] command-nas: fix cmd_nas_get_cell_location_info_cb | expand

Commit Message

Jan-Niklas Burfeind March 8, 2022, 3:01 p.m. UTC
Correct order of rsrp and rsrq parameters for print_lte_info.

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

Patch

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);