drivers: modem: gsm: fix RSSI check condition
Fixes invalid condition introduced in #48533 when FSM implementation was added. Signed-off-by: Marin Jurjević <marin.jurjevic@hotmail.com>
This commit is contained in:
parent
e01d8dbbd7
commit
b99b66fba2
|
@ -826,7 +826,7 @@ attaching:
|
|||
/* Read connection quality (RSSI) before PPP carrier is ON */
|
||||
query_rssi_nolock(gsm);
|
||||
|
||||
if (!((gsm->minfo.mdm_rssi > 0) && (gsm->minfo.mdm_rssi != GSM_RSSI_INVALID) &&
|
||||
if (!((gsm->minfo.mdm_rssi) && (gsm->minfo.mdm_rssi != GSM_RSSI_INVALID) &&
|
||||
(gsm->minfo.mdm_rssi < GSM_RSSI_MAXVAL))) {
|
||||
|
||||
LOG_DBG("Not valid RSSI, %s", "retrying...");
|
||||
|
|
Loading…
Reference in a new issue