Open Source Telephony
 help / color / mirror / Atom feed
From: JongSeok Won <wjs890204@gmail.com>
To: ofono@ofono.org
Subject: [PATCH] rilmodem: fix typo error in netmon.c
Date: Mon, 20 Jul 2020 16:34:50 +0900	[thread overview]
Message-ID: <20200720073450.11596-1-wjs890204@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

---
 drivers/rilmodem/netmon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rilmodem/netmon.c b/drivers/rilmodem/netmon.c
index 7dd3a562..547ebccc 100644
--- a/drivers/rilmodem/netmon.c
+++ b/drivers/rilmodem/netmon.c
@@ -201,7 +201,7 @@ static int process_cellinfo_list(struct ril_msg *message,
 
 		lac = (lac >= 0 && lac <= 65535) ? lac : -1;
 		cid = (cid >= 0 && cid <= 268435455) ? cid : -1;
-		psc = (psc >= 0 && rssi <= 511) ? psc : -1;
+		psc = (psc >= 0 && psc <= 511) ? psc : -1;
 		rssi = (rssi >= 0 && rssi <= 31) ? rssi : -1;
 		ber = (ber >= 0 && ber <= 7) ? ber : -1;
 
-- 
2.17.1

             reply	other threads:[~2020-07-20  7:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-20  7:34 JongSeok Won [this message]
2020-07-21 13:43 ` [PATCH] rilmodem: fix typo error in netmon.c Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200720073450.11596-1-wjs890204@gmail.com \
    --to=wjs890204@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox