NMT: Fix on paging retry

This commit is contained in:
Andreas Eversberg 2016-08-28 15:29:13 +02:00
parent 37ca463d98
commit 4c1c8eb6fb
1 changed files with 2 additions and 1 deletions

View File

@ -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);