From 1ed9289f48faa72ad5ceec3f5337e0068929b036 Mon Sep 17 00:00:00 2001 From: Chrisian Richter Date: Mon, 16 Oct 2006 07:43:57 +0000 Subject: [PATCH] Modified change from gkelleter a bit. If you change things in the TE State machine, check the whole code! Disconnects might also be sent out in other States like outgoing Setup.. i've did your change only in state 7 == In Setup + Out Alerting, please check if that works for you. --- drivers/isdn/hardware/mISDN/l3_udss1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/isdn/hardware/mISDN/l3_udss1.c b/drivers/isdn/hardware/mISDN/l3_udss1.c index bb334e1..866f03b 100644 --- a/drivers/isdn/hardware/mISDN/l3_udss1.c +++ b/drivers/isdn/hardware/mISDN/l3_udss1.c @@ -1082,7 +1082,7 @@ l3dss1_disconnect(l3_process_t *pc, u_char pr, void *arg) else cause = CAUSE_INVALID_CONTENTS; } - else + else if (pc->state == 7) /* Call Received*/ cause = pc->err; ret = check_infoelements(pc, skb, ie_DISCONNECT); if (ERR_IE_COMPREHENSION == ret)