diff options
Diffstat (limited to 'src/common/pcu_sock.c')
-rw-r--r-- | src/common/pcu_sock.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/pcu_sock.c b/src/common/pcu_sock.c index 845e5bb4..d40b19bf 100644 --- a/src/common/pcu_sock.c +++ b/src/common/pcu_sock.c @@ -110,6 +110,14 @@ static bool ts_should_be_pdch(struct gsm_bts_trx_ts *ts) { else return (ts->flags & TS_F_PDCH_ACT_PENDING); } + if (ts->pchan == GSM_PCHAN_TCH_F_TCH_H_PDCH) { + /* + * When we're busy de-/activating the PDCH, we first set + * ts->dyn.pchan_want, tell the PCU about it and wait for a + * response. So only care about dyn.pchan_want here. + */ + return ts->dyn.pchan_want == GSM_PCHAN_PDCH; + } return false; } |