Use define for limit on number of BTS features

Change-Id: Ief81db0b3653fec180e60776ff9bcb0ac1357217
Related: OS#1614
This commit is contained in:
Max 2017-05-09 15:19:15 +02:00
parent 2b6c5407b6
commit 7b62d54b52
1 changed files with 3 additions and 1 deletions

View File

@ -66,6 +66,8 @@ enum gsm_chreq_reason_t {
#define MAX_VERSION_LENGTH 64
#define MAX_BTS_FEATURES 128
enum gsm_hooks {
GSM_HOOK_NM_SWLOAD,
GSM_HOOK_RR_PAGING,
@ -533,7 +535,7 @@ struct gsm_bts_model {
struct tlv_definition nm_att_tlvdef;
struct bitvec features;
uint8_t _features_data[128/8];
uint8_t _features_data[MAX_BTS_FEATURES/8];
};
enum gsm_bts_features {