projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e314f89
)
mISDN: Added missing create_l1() call
author
Andreas Eversberg
<andreas@eversberg.eu>
Sun, 9 Nov 2008 09:23:19 +0000
(10:23 +0100)
committer
Karsten Keil
<kkeil@suse.de>
Fri, 9 Jan 2009 21:44:29 +0000
(22:44 +0100)
create_l1() was missed when changing mode to TE.
Signed-off-by: Andreas Eversberg <andreas@eversberg.eu>
Signed-off-by: Karsten Keil <kkeil@suse.de>
drivers/isdn/hardware/mISDN/hfcpci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/isdn/hardware/mISDN/hfcpci.c
b/drivers/isdn/hardware/mISDN/hfcpci.c
index 019dbe9b082cdb6bfd60f39694509fa6718e081a..917bf41a293b2324596e4c0ec13853704aaacf79 100644
(file)
--- 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,
if (rq->protocol != ch->protocol) {
if (hc->hw.protocol == ISDN_P_TE_S0)
l1_event(hc->dch.l1, CLOSE_CHANNEL);
+ if (rq->protocol == ISDN_P_TE_S0) {
+ err = create_l1(&hc->dch, hfc_l1callback);
+ if (err)
+ return err;
+ }
hc->hw.protocol = rq->protocol;
ch->protocol = rq->protocol;
hfcpci_setmode(hc);