Commit 86315789 authored by Kai Germaschewski's avatar Kai Germaschewski

ISDN: CAPI fix new "ncci up"

There's actually two cases when a new NCCI is created:
outgoing and incoming connections (had missed the latter)
parent 8865d244
......@@ -591,9 +591,10 @@ static void capi_signal(u16 applid, void *param)
u16 info = CAPIMSG_U16(skb->data, 12); // Info field
if (info == 0)
capincci_alloc(cdev, CAPIMSG_NCCI(skb->data));
}
if (CAPIMSG_COMMAND(skb->data) == CAPI_CONNECT_B3_IND) {
capincci_alloc(cdev, CAPIMSG_NCCI(skb->data));
}
if (CAPIMSG_COMMAND(skb->data) != CAPI_DATA_B3) {
skb_queue_tail(&cdev->recvqueue, skb);
wake_up_interruptible(&cdev->recvwait);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment