diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcpci.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c index 019dbe9b082c..917bf41a293b 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c | |||
@@ -1937,6 +1937,11 @@ open_dchannel(struct hfc_pci *hc, struct mISDNchannel *ch, | |||
1937 | if (rq->protocol != ch->protocol) { | 1937 | if (rq->protocol != ch->protocol) { |
1938 | if (hc->hw.protocol == ISDN_P_TE_S0) | 1938 | if (hc->hw.protocol == ISDN_P_TE_S0) |
1939 | l1_event(hc->dch.l1, CLOSE_CHANNEL); | 1939 | l1_event(hc->dch.l1, CLOSE_CHANNEL); |
1940 | if (rq->protocol == ISDN_P_TE_S0) { | ||
1941 | err = create_l1(&hc->dch, hfc_l1callback); | ||
1942 | if (err) | ||
1943 | return err; | ||
1944 | } | ||
1940 | hc->hw.protocol = rq->protocol; | 1945 | hc->hw.protocol = rq->protocol; |
1941 | ch->protocol = rq->protocol; | 1946 | ch->protocol = rq->protocol; |
1942 | hfcpci_setmode(hc); | 1947 | hfcpci_setmode(hc); |