mncc_sock: properly append an element to the end of the list

This commit is contained in:
Harald Welte 2010-12-22 22:55:30 +01:00 committed by Andreas Eversberg
parent 336f157adc
commit dd2ae2236f
1 changed files with 1 additions and 0 deletions

View File

@ -815,6 +815,7 @@ static int mncc_q_enqueue(struct gsm_mncc *mncc, unsigned int len)
} else {
/* append to tail of list */
gsm->mncc_q_tail->next = qe;
gsm->mncc_q_tail = qe;
}
gsm->mncc_lfd.when |= LCR_FD_WRITE;