Fix wrong L2 release in NT mode
In NT mode we should not release TEI 127, if one TEI connection goes down. Signed-off-by: Karsten Keil <kkeil@linux-pingi.de>
This commit is contained in:
parent
2fb043cabc
commit
a386555cc4
|
@ -373,7 +373,7 @@ l3ml3p(layer3_t *l3, int pr, unsigned int ces)
|
|||
dprint(DBGM_L2, "port%d: pr %s tei:%d pid %x ces %x/%x\n",
|
||||
l3->l2master.l2addr.dev, _mi_msg_type2str(pr),
|
||||
l3->l2master.l2addr.tei, p->pid, ces, p_ces);
|
||||
if ((p_ces == ces) || (p_ces == MISDN_CES_MASTER)) {
|
||||
if ((p_ces == ces) || (p_ces == MISDN_CES_MASTER && test_bit(FLG_USER, &l3->ml3.options))) {
|
||||
dprint(L3_DEB_PROC, "port%d: send to l3proc pid=%x\n",
|
||||
l3->l2master.l2addr.dev, p->pid);
|
||||
l3->p_mgr(p, pr, NULL);
|
||||
|
|
Loading…
Reference in New Issue