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: I274a9f0f1208dc17713ba2e1c7a1110eeb133ccachanges/02/31802/3
parent
4af073c109
commit
c4ab940544
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue