dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/31802 )
Change subject: pcu_sock: use is_ericsson_bts() to check for ericsson BTS ......................................................................
pcu_sock: use is_ericsson_bts() to check for ericsson BTS
Do not access bts->type directly, we have is_ericsson_bts() to do that
Related: OS#5198 Change-Id: I274a9f0f1208dc17713ba2e1c7a1110eeb133cca --- M src/osmo-bsc/pcu_sock.c 1 file changed, 13 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/02/31802/1
diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c index 7160210..a2e2f51 100644 --- a/src/osmo-bsc/pcu_sock.c +++ b/src/osmo-bsc/pcu_sock.c @@ -573,7 +573,7 @@ * assign downlink TBFs directly through the paging channel. However, this method never became part * of the RSL specs. This means that each BTS vendor has to come up with a proprietary method. At * the moment we only support Ericsson RBS here. */ - if (bts->type == GSM_BTS_TYPE_RBS2000) { + if (is_ericsson_bts(bts)) { rc = rsl_ericsson_imm_assign_cmd(bts, pch_dt->tlli, sizeof(pch_dt->data), pch_dt->data, pag_grp); } else {