aboutsummaryrefslogtreecommitdiffstats
path: root/src/pdch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdch.cpp')
-rw-r--r--src/pdch.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pdch.cpp b/src/pdch.cpp
index cfec71ec..807ce459 100644
--- a/src/pdch.cpp
+++ b/src/pdch.cpp
@@ -463,7 +463,8 @@ void gprs_rlcmac_pdch::rcv_control_dl_ack_nack(Packet_Downlink_Ack_Nack_t *ack_n
tfi = ack_nack->DOWNLINK_TFI;
poll = pdch_ulc_get_node(ulc, fn);
- if (!poll || poll->type != PDCH_ULC_NODE_TBF_POLL) {
+ if (!poll || poll->type != PDCH_ULC_NODE_TBF_POLL ||
+ poll->tbf_poll.reason != PDCH_ULC_POLL_DL_ACK) {
LOGPDCH(this, DRLCMAC, LOGL_NOTICE, "PACKET DOWNLINK ACK with "
"unknown FN=%u TFI=%d (TRX %d TS %d)\n",
fn, tfi, trx_no(), ts_no);
@@ -532,7 +533,8 @@ void gprs_rlcmac_pdch::rcv_control_egprs_dl_ack_nack(EGPRS_PD_AckNack_t *ack_nac
tfi = ack_nack->DOWNLINK_TFI;
poll = pdch_ulc_get_node(ulc, fn);
- if (!poll || poll->type != PDCH_ULC_NODE_TBF_POLL) {
+ if (!poll || poll->type != PDCH_ULC_NODE_TBF_POLL ||
+ poll->tbf_poll.reason != PDCH_ULC_POLL_DL_ACK) {
LOGPDCH(this, DRLCMAC, LOGL_NOTICE, "EGPRS PACKET DOWNLINK ACK with "
"unknown FN=%u TFI=%d (TRX %d TS %d)\n",
fn, tfi, trx_no(), ts_no);