Changes
Started by upstream project gerrit-osmo-bsc #1768
Started 6 hr 32 min ago
Queued 6 sec
Took 1 min 57 sec
on build5-deb12build-ansible
gsm_set_bts_type(): fix switch statement
The switch statement on (bts->type) in this function exhibited
two defects:
1) From the beginning, each unhandled BTS type was listed explicitly,
instead of providing a default case;
2) When Nokia-specific initialization was added in 2015,
the addition was erroneously applied to GSM_BTS_TYPE_BS11
and GSM_BTS_TYPE_UNKNOWN cases, besides the intended case
of GSM_BTS_TYPE_NOKIA_SITE.
Fixes: 56e1766dba1a03e304e51d079e65406542e7887c
Change-Id: Ibf500c373b69a69182885d5e700abc6fb1b03ccd
The switch statement on (bts->type) in this function exhibited
two defects:
1) From the beginning, each unhandled BTS type was listed explicitly,
instead of providing a default case;
2) When Nokia-specific initialization was added in 2015,
the addition was erroneously applied to GSM_BTS_TYPE_BS11
and GSM_BTS_TYPE_UNKNOWN cases, besides the intended case
of GSM_BTS_TYPE_NOKIA_SITE.
Fixes: 56e1766dba1a03e304e51d079e65406542e7887c
Change-Id: Ibf500c373b69a69182885d5e700abc6fb1b03ccd
falcon
at