aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2023-03-09 14:39:31 +0100
committerdexter <pmaier@sysmocom.de>2023-03-20 09:41:00 +0000
commitc4ab9405443546c730f11d298193e4fc50f65998 (patch)
tree5202f68e3936aac9848654649f681b3c3855bb16
parent4af073c10987231c3ae833bb7f04e2d8ce0ad18a (diff)
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
-rw-r--r--src/osmo-bsc/pcu_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c
index b6e626d25..453d5a7b7 100644
--- a/src/osmo-bsc/pcu_sock.c
+++ b/src/osmo-bsc/pcu_sock.c
@@ -573,7 +573,7 @@ static int pcu_rx_data_req(struct gsm_bts *bts, uint8_t msg_type,
* 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 {