summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-08-09 11:22:36 +0200
committerAleksander Morgado <aleksander@aleksander.es>2018-08-12 14:26:04 +0200
commit61b5e2a089dd87257e6b4a87018570fff48f4f2f (patch)
tree4c0ebb39fc48200895b49b7db84502579f95d4b9
parent8c59d3723cb59c187c76d45831af9ee8d532389a (diff)
mbimcli,atds: fix LTE SNR processing
(cherry picked from commit b1b0ff50d86e240d2c1d6aa2f19272ce000a5704)
-rw-r--r--src/mbimcli/mbimcli-atds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbimcli/mbimcli-atds.c b/src/mbimcli/mbimcli-atds.c
index 916ad0c..446b757 100644
--- a/src/mbimcli/mbimcli-atds.c
+++ b/src/mbimcli/mbimcli-atds.c
@@ -216,7 +216,7 @@ query_signal_ready (MbimDevice *device,
rssnr_str = g_strdup_printf ("< -5 dB");
else if (rssnr < 97)
rssnr_str = g_strdup_printf ("%d dB", -5 + rssnr);
- else if (rsrp == 97)
+ else if (rssnr == 97)
rssnr_str = g_strdup_printf (">= 30 dB");
g_print ("[%s] Signal info retrieved:\n"