diff options
-rw-r--r-- | src/host/layer23/src/misc/Makefile.am | 4 | ||||
-rw-r--r-- | src/host/layer23/src/misc/app_ccch_scan.c (renamed from src/host/layer23/src/misc/layer3.c) | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/host/layer23/src/misc/Makefile.am b/src/host/layer23/src/misc/Makefile.am index f8a0b737..396cc342 100644 --- a/src/host/layer23/src/misc/Makefile.am +++ b/src/host/layer23/src/misc/Makefile.am @@ -2,10 +2,10 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include AM_CFLAGS = -Wall $(LIBOSMOCORE_CFLAGS) LDADD = ../common/liblayer23.a $(LIBOSMOCORE_LIBS) -bin_PROGRAMS = bcch_scan layer23 echo_test cell_log cbch_sniff +bin_PROGRAMS = bcch_scan ccch_scan echo_test cell_log cbch_sniff bcch_scan_SOURCES = ../common/main.c app_bcch_scan.c bcch_scan.c -layer23_SOURCES = ../common/main.c app_phone.c layer3.c rslms.c +ccch_scan_SOURCES = ../common/main.c app_phone.c app_ccch_scan.c rslms.c echo_test_SOURCES = ../common/main.c app_echo_test.c cell_log_LDADD = $(LDADD) -lm cell_log_SOURCES = ../common/main.c app_cell_log.c cell_log.c \ diff --git a/src/host/layer23/src/misc/layer3.c b/src/host/layer23/src/misc/app_ccch_scan.c index 936623f3..d54f7a3f 100644 --- a/src/host/layer23/src/misc/layer3.c +++ b/src/host/layer23/src/misc/app_ccch_scan.c @@ -259,7 +259,7 @@ int gsm48_rx_ccch(struct msgb *msg, struct osmocom_ms *ms) if (sih->rr_protocol_discriminator != GSM48_PDISC_RR) LOGP(DRR, LOGL_ERROR, "PCH pdisc != RR\n"); - + switch (sih->system_information) { case GSM48_MT_RR_PAG_REQ_1: case GSM48_MT_RR_PAG_REQ_2: @@ -305,4 +305,3 @@ void layer3_app_reset(void) memset(&app_state.cell_arfcns, 0x00, sizeof(app_state.cell_arfcns)); } - |