abis: Fix the verification of BCCH/SDCCH8 on TRX != 0 for the BS11

The SDCCH8 is only allowed on trx 0 if there is no BCCH/SDCCH4 on it.
This commit is contained in:
Holger Hans Peter Freyther 2013-01-08 19:30:14 +01:00
parent bac7dcc367
commit 608ac2a8a4
1 changed files with 1 additions and 1 deletions

View File

@ -1507,7 +1507,7 @@ static int verify_chan_comb(struct gsm_bts_trx_ts *ts, uint8_t chan_comb,
/* not on the same TRX that has a BCCH+SDCCH4
* combination */
if (ts->trx == ts->trx->bts->c0 &&
if (ts->trx != ts->trx->bts->c0 &&
(ts->trx->ts[0].nm_chan_comb == 5 ||
ts->trx->ts[0].nm_chan_comb == 8)) {
*reason = "SDCCH/8 and BCCH must be on the same TRX.";