diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2017-11-21 12:03:04 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2017-12-06 13:25:35 +0000 |
commit | 547c207579f5e28a488af5e07f43382beeaddda8 (patch) | |
tree | 420070cd11691ae73521125d993c714a1a88251f | |
parent | f4d0889abbbd416ff90bf680df4cefe20b45bc28 (diff) |
use _NUM_CHREQ_T to define the size of ctype_by_chreq
Make it future compatible for changes. Otherwise it will break
when additional enums are adding to chreq in libosmocore.
Depends on libosmocore Id67ba8de89dd6288e449197438e9e1c5d7f5a134
Change-Id: I2acab2af8d67bccb2bc495512c1f259ae649a832
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 91aee437f..1ca3bc967 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -395,7 +395,7 @@ struct gsm_network { enum rrlp_mode mode; } rrlp; - enum gsm_chan_t ctype_by_chreq[18]; + enum gsm_chan_t ctype_by_chreq[_NUM_CHREQ_T]; /* Use a TCH for handling requests of type paging any */ int pag_any_tch; |