diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-25 18:32:16 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-25 19:14:44 +0200 |
commit | 6321c72522897b2e8df787a73441f699b5af28d9 (patch) | |
tree | 6febed4d7dc06a3576a963d102f572c866b4080d /src/common/pcu_sock.c | |
parent | e851e134134b37113adc82d052bb5ba7e227797d (diff) |
rsl/pcu: Do not send a CHAN ACT to the BSC on PCU usage
The PCU is forcing the activation of a PDCH. Currently the BSC
will receive a channel act ack for a channel that was not
activated at all. Use the "release_reason" flag of the lchan
to see if we have requested a normal activation or a silent
one.
It feels a bit odd to do it in the TX function but it is the
most easy solution right now. I have added logging so it will
not be totally silent.
Diffstat (limited to 'src/common/pcu_sock.c')
-rw-r--r-- | src/common/pcu_sock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index a90caacf..3fef9b12 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -538,6 +538,7 @@ static int pcu_rx_act_req(struct gsm_bts *bts, return -EINVAL; lchan = trx->ts[act_req->ts_nr].lchan; + lchan->rel_act_kind = LCHAN_REL_ACT_PCU; if (lchan->type != GSM_LCHAN_PDTCH) { LOGP(DPCU, LOGL_ERROR, "Lchan is not of type PDCH, but %d.\n", lchan->type); |