mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
misc: gsm_data.c address compiler warning
Assume nothing special needs to be done for the Nokia *site hardware. GCC warning: gsm_data.c: In function ‘gsm_set_bts_type’: gsm_data.c:342:2: warning: enumeration value ‘GSM_BTS_TYPE_NOKIA_SITE’ not handled in switch [-Wswitch]
This commit is contained in:
@@ -347,13 +347,14 @@ int gsm_set_bts_type(struct gsm_bts *bts, enum gsm_bts_type type)
|
||||
bts->oml_tei = 0xff;
|
||||
bts->c0->nominal_power = 23;
|
||||
break;
|
||||
case GSM_BTS_TYPE_BS11:
|
||||
case GSM_BTS_TYPE_UNKNOWN:
|
||||
break;
|
||||
case GSM_BTS_TYPE_RBS2000:
|
||||
INIT_LLIST_HEAD(&bts->rbs2000.is.conn_groups);
|
||||
INIT_LLIST_HEAD(&bts->rbs2000.con.conn_groups);
|
||||
break;
|
||||
case GSM_BTS_TYPE_BS11:
|
||||
case GSM_BTS_TYPE_UNKNOWN:
|
||||
case GSM_BTS_TYPE_NOKIA_SITE:
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user