You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ModemManager/SOURCES/0010-libmm-glib-signal-fix-...

26 lines
1.1 KiB

From 91f7bbf85b1fccc0c3297acf4203f32b1f195397 Mon Sep 17 00:00:00 2001
From: Lubomir Rintel <lkundrak@v3.sk>
Date: Mon, 27 May 2024 00:04:38 +0200
Subject: [PATCH 10/11] libmm-glib/signal: fix a copy'n'paste error
---
libmm-glib/mm-signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmm-glib/mm-signal.c b/libmm-glib/mm-signal.c
index e71cd24ba..f8d8c4aa5 100644
--- a/libmm-glib/mm-signal.c
+++ b/libmm-glib/mm-signal.c
@@ -379,7 +379,7 @@ mm_signal_get_string (MMSignal *self)
g_string_append_printf (printable, "%serror rate: %f %%", printable->len ? ", " : "", self->priv->error_rate);
if (self->priv->rscp != MM_SIGNAL_UNKNOWN)
g_string_append_printf (printable, "%sRSCP: %f dBm", printable->len ? ", " : "", self->priv->rscp);
- if (self->priv->rscp != MM_SIGNAL_UNKNOWN)
+ if (self->priv->rsrp != MM_SIGNAL_UNKNOWN)
g_string_append_printf (printable, "%sRSRP: %f dBm", printable->len ? ", " : "", self->priv->rsrp);
if (self->priv->rsrq != MM_SIGNAL_UNKNOWN)
g_string_append_printf (printable, "%sRSRQ: %f dB", printable->len ? ", " : "", self->priv->rsrq);
--
2.45.2