diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-23 18:04:49 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-23 18:25:43 +0200 |
commit | 7438df7d705fe34932da0b482bcf14cc67146094 (patch) | |
tree | 77a7358b191192d9d0fe7123fc3054d3c2040186 | |
parent | 642c7d3f5b3a199cf69b88d21056cbfffd748595 (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.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_data.cpp b/src/gprs_rlcmac_data.cpp index 4109161d..7610dcb6 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); } |