diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfcpci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c index 37c2e19c3b00..ea69d5862f6d 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c | |||
@@ -1894,6 +1894,10 @@ open_dchannel(struct hfc_pci *hc, struct mISDNchannel *ch, | |||
1894 | hc->dch.dev.id, __builtin_return_address(0)); | 1894 | hc->dch.dev.id, __builtin_return_address(0)); |
1895 | if (rq->protocol == ISDN_P_NONE) | 1895 | if (rq->protocol == ISDN_P_NONE) |
1896 | return -EINVAL; | 1896 | return -EINVAL; |
1897 | if (rq->adr.channel == 1) { | ||
1898 | /* TODO: E-Channel */ | ||
1899 | return -EINVAL; | ||
1900 | } | ||
1897 | if (!hc->initdone) { | 1901 | if (!hc->initdone) { |
1898 | if (rq->protocol == ISDN_P_TE_S0) { | 1902 | if (rq->protocol == ISDN_P_TE_S0) { |
1899 | err = create_l1(&hc->dch, hfc_l1callback); | 1903 | err = create_l1(&hc->dch, hfc_l1callback); |