summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2017-02-24 15:32:59 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2017-02-24 15:36:05 +0100
commit8858d50ab6d9bd1543ae7ec96b1c27037bbf6703 (patch)
treeff8c5dc76e9c5ea349026a7eba35306fc9b5902d
parent496013fc5b467a8b4620890e1f9381f453b7df87 (diff)
cosmetic: Fixing typo in enmum constant
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h2
-rw-r--r--openbsc/src/libbsc/abis_rsl.c2
-rw-r--r--openbsc/src/libbsc/gsm_04_08_utils.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 69c016a..df34a9b 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -45,7 +45,7 @@ enum gsm_chreq_reason_t {
GSM_CHREQ_REASON_PAG,
GSM_CHREQ_REASON_CALL,
GSM_CHREQ_REASON_LOCATION_UPD,
- GSM_CHREQ_REASON_PBCH,
+ GSM_CHREQ_REASON_PDCH,
GSM_CHREQ_REASON_OTHER,
};
diff --git a/openbsc/src/libbsc/abis_rsl.c b/openbsc/src/libbsc/abis_rsl.c
index 31f25dc..3da9661 100644
--- a/openbsc/src/libbsc/abis_rsl.c
+++ b/openbsc/src/libbsc/abis_rsl.c
@@ -1862,7 +1862,7 @@ static int rsl_rx_chan_rqd(struct msgb *msg)
chreq_reason = get_reason_by_chreq(rqd_ref->ra, bts->network->neci);
/* Hanle PBCH related rach requests (in case of BSC-co-located-PCU */
- if (chreq_reason == GSM_CHREQ_REASON_PBCH)
+ if (chreq_reason == GSM_CHREQ_REASON_PDCH)
return rsl_rx_pchan_rqd(msg, bts);
/* determine channel type (SDCCH/TCH_F/TCH_H) based on
diff --git a/openbsc/src/libbsc/gsm_04_08_utils.c b/openbsc/src/libbsc/gsm_04_08_utils.c
index 0226b83..c227fb9 100644
--- a/openbsc/src/libbsc/gsm_04_08_utils.c
+++ b/openbsc/src/libbsc/gsm_04_08_utils.c
@@ -140,8 +140,8 @@ static const enum gsm_chreq_reason_t reason_by_chreq[] = {
[CHREQ_T_PAG_R_TCH_F] = GSM_CHREQ_REASON_PAG,
[CHREQ_T_PAG_R_TCH_FH] = GSM_CHREQ_REASON_PAG,
[CHREQ_T_LMU] = GSM_CHREQ_REASON_OTHER,
- [CHREQ_T_PDCH_ONE_PHASE] = GSM_CHREQ_REASON_PBCH,
- [CHREQ_T_PDCH_TWO_PHASE] = GSM_CHREQ_REASON_PBCH,
+ [CHREQ_T_PDCH_ONE_PHASE] = GSM_CHREQ_REASON_PDCH,
+ [CHREQ_T_PDCH_TWO_PHASE] = GSM_CHREQ_REASON_PDCH,
[CHREQ_T_RESERVED_SDCCH] = GSM_CHREQ_REASON_OTHER,
[CHREQ_T_RESERVED_IGNORE] = GSM_CHREQ_REASON_OTHER,
};