projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f28fa1
)
mISDN: Return error on E-channel access
author
Martin Bachem
<m.bachem@gmx.de>
Thu, 4 Sep 2008 10:42:39 +0000
(12:42 +0200)
committer
Karsten Keil
<kkeil@suse.de>
Fri, 9 Jan 2009 21:44:26 +0000
(22:44 +0100)
Return error on D-channel access with E-channel data requested
Signed-off-by: Martin Bachem <m.bachem@gmx.de>
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 37c2e19c3b008801cc390d8d25076761ecd27303..ea69d5862f6dc9168506fd11fb3c8e175077add9 100644
(file)
--- 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,
hc->dch.dev.id, __builtin_return_address(0));
if (rq->protocol == ISDN_P_NONE)
return -EINVAL;
+ if (rq->adr.channel == 1) {
+ /* TODO: E-Channel */
+ return -EINVAL;
+ }
if (!hc->initdone) {
if (rq->protocol == ISDN_P_TE_S0) {
err = create_l1(&hc->dch, hfc_l1callback);