aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-07-23 18:04:49 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2012-07-23 18:25:43 +0200
commit7438df7d705fe34932da0b482bcf14cc67146094 (patch)
tree77a7358b191192d9d0fe7123fc3054d3c2040186
parent642c7d3f5b3a199cf69b88d21056cbfffd748595 (diff)
Fix: Send downlink assignment on PCH twice to make reception more safe
If the mobile is not fast enough switching back to CCCH, the second assignment, which is sent later is usefull in this case.
-rw-r--r--src/gprs_rlcmac_data.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_data.cpp b/src/gprs_rlcmac_data.cpp
index 4109161..7610dcb 100644
--- a/src/gprs_rlcmac_data.cpp
+++ b/src/gprs_rlcmac_data.cpp
@@ -1505,10 +1505,12 @@ void gprs_rlcmac_trigger_downlink_assignment(gprs_rlcmac_tbf *tbf,
LOGP(DRLCMAC, LOGL_ERROR, "No valid IMSI!\n");
return;
}
- /* send immediate assignment */
- gprs_rlcmac_downlink_assignment(tbf, 0, imsi);
/* change state */
tbf_new_state(tbf, GPRS_RLCMAC_ASSIGN);
+ /* send immediate assignment */
+ gprs_rlcmac_downlink_assignment(tbf, 0, imsi);
+ /* send immediate assignment */
+ gprs_rlcmac_downlink_assignment(tbf, 0, imsi);
/* start timer */
tbf_timer_start(tbf, 0, Tassign_agch);
}