aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-03-17 12:21:00 +0100
committerOliver Smith <osmith@sysmocom.de>2020-03-19 12:29:22 +0100
commita595db15ea991f8cf46bf6b634b57bc2494d1ad2 (patch)
tree4fdd3d686a35bbc832aeabf69f8b85cb7c41b8ac /include/osmocom
parent5edae5d203897aa6d4bc32c052330855dd811475 (diff)
main: exit on mutually exclusive codecs settings
Refuse to start with mutually exclusive codec settings, unless allow-unusable-timeslots is set in the network section of the config. The checks were already implemented and fill the error log if the config is invalid. Related: OS#3739 Change-Id: I3ccfc3b0a8641400cb97a23b24d7ed92d2ad25cd
Diffstat (limited to 'include/osmocom')
-rw-r--r--include/osmocom/bsc/gsm_data.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 040e36d79..5afc2cfce 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -1608,6 +1608,9 @@ struct gsm_network {
/* Remote BSS Cell Identifier Lists */
struct neighbor_ident_list *neighbor_bss_cells;
+
+ /* Don't refuse to start with mutually exclusive codec settings */
+ bool allow_unusable_timeslots;
};
struct gsm_audio_support {