summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/gsm322.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/src/gsm322.c')
-rwxr-xr-xsrc/host/layer23/src/gsm322.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/gsm322.c b/src/host/layer23/src/gsm322.c
index 034a759f..7e43f758 100755
--- a/src/host/layer23/src/gsm322.c
+++ b/src/host/layer23/src/gsm322.c
@@ -783,7 +783,7 @@ static int gsm322_a_sel_first_plmn(struct osmocom_ms *ms, struct msgb *msg)
plmn->plmn_curr = i;
/* if no PLMN in list */
- if (plmn_first) {
+ if (!plmn_first) {
LOGP(DPLMN, LOGL_INFO, "No PLMN in list.\n");
gsm322_a_no_more_plmn(ms, msg);