aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/isdn/hardware/mISDN/hfcpci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c
index 8461477a3ac..37c2e19c3b0 100644
--- a/drivers/isdn/hardware/mISDN/hfcpci.c
+++ b/drivers/isdn/hardware/mISDN/hfcpci.c
@@ -1964,7 +1964,8 @@ hfc_dctrl(struct mISDNchannel *ch, u_int cmd, void *arg)
1964 switch (cmd) { 1964 switch (cmd) {
1965 case OPEN_CHANNEL: 1965 case OPEN_CHANNEL:
1966 rq = arg; 1966 rq = arg;
1967 if (rq->adr.channel == 0) 1967 if ((rq->protocol == ISDN_P_TE_S0) ||
1968 (rq->protocol == ISDN_P_NT_S0))
1968 err = open_dchannel(hc, ch, rq); 1969 err = open_dchannel(hc, ch, rq);
1969 else 1970 else
1970 err = open_bchannel(hc, rq); 1971 err = open_bchannel(hc, rq);