summaryrefslogtreecommitdiff
path: root/drivers/dahdi/dahdi-base.c
diff options
context:
space:
mode:
authorRuss Meyerriecks <rmeyerreicks@digium.com>2010-03-08 23:22:54 +0000
committerRuss Meyerriecks <rmeyerreicks@digium.com>2010-03-08 23:22:54 +0000
commit59fce3f780a759de7286ec399d4c1d75143f7f33 (patch)
tree07cfacd3224e4a476e0eacc70afaf5b32aec5ece /drivers/dahdi/dahdi-base.c
parentc2715f7534f6880fb371a284c0a30fcd9e1c7bac (diff)
wct4xxp, wcte12xp: Fixed broken E1 and unsupported function bugs
* Fixed the bug where the card could not be brought out of local loopback in E1 mode. * Fixed a bunch of issues where the drivers didn't report unsupported maintenance functions correctly. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8291 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi-base.c')
-rw-r--r--drivers/dahdi/dahdi-base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index 673b84e..601aa59 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -4545,6 +4545,7 @@ static int dahdi_ctl_ioctl(struct file *file, unsigned int cmd, unsigned long da
module_printk(KERN_NOTICE,
"Unknown maintenance event: %d\n",
maint.command);
+ return -ENOSYS;
}
dahdi_alarm_notify(spans[maint.spanno]); /* process alarm-related events */
spin_unlock_irqrestore(&spans[maint.spanno]->lock, flags);