diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-16 11:14:37 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-23 11:36:30 +0100 |
commit | 88eb926637fe6864134509842af6757ff3dbdb8b (patch) | |
tree | 718bc1eebf5cb75ad7309ad8e5e9838f49c8d8f1 /src/host/layer23 | |
parent | fa86ada92b229e8df4054e46e4bbcf42b99a9e37 (diff) |
layer23: Rename layer23 to ccch_scan as discussed on the ml
Diffstat (limited to 'src/host/layer23')
-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)); } - |