commit | 5b570676cdd0672e3370794112fcfa30019e566e | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Mon Aug 10 10:08:01 2009 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Mon Aug 10 10:08:01 2009 +0200 |
tree | dd7ec12895f2e1f233673cc82a2c1198c3385061 | |
parent | 31c489390ccfbcb100691f2bb5d05e4eea155225 [diff] |
add new 'is_siemens_bts()' function
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index f90e60d..81de84f 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h
@@ -428,4 +428,16 @@ return 0; } +static inline int is_siemens_bts(struct gsm_bts *bts) +{ + switch (bts->type) { + case GSM_BTS_TYPE_BS11: + return 1; + default: + break; + } + + return 0; +} + #endif