From: David Bauer Date: Sun, 20 Apr 2025 01:27:39 +0000 (+0200) Subject: uqmi nas: fix incorrect parameter order X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a933061911aa4c49e953af618c3fb02ce6014142;p=project%2Fuqmi.git 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 --- 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);