aboutsummaryrefslogtreecommitdiffstats
path: root/src/nmt/nmt.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-08-28 15:29:13 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2016-08-28 15:29:13 +0200
commit4c1c8eb6fbaaa35a6d95e3c648d4861b63937eee (patch)
tree93ed0b13520274ecc8cdc34b23dd4c80d0c235e8 /src/nmt/nmt.c
parent37ca463d98c79169d28825548e37daa6b00b5ab3 (diff)
NMT: Fix on paging retry
Diffstat (limited to 'src/nmt/nmt.c')
-rw-r--r--src/nmt/nmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nmt/nmt.c b/src/nmt/nmt.c
index f4948c4..7bdae54 100644
--- a/src/nmt/nmt.c
+++ b/src/nmt/nmt.c
@@ -480,7 +480,8 @@ static void nmt_page(transaction_t *trans, int try)
if (nmt->sysinfo.chan_type != CHAN_TYPE_CC
&& nmt->sysinfo.chan_type != CHAN_TYPE_CC_TC)
continue;
- if (nmt->state != STATE_IDLE)
+ /* page on all idle channels and on channels we previously paged */
+ if (nmt->state != STATE_IDLE && nmt->trans != trans)
continue;
PDEBUG(DNMT, DEBUG_INFO, "Paging on channel %d.\n", sender->kanal);
nmt_new_state(nmt, STATE_MT_PAGING);