summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-12 14:50:58 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-03-12 14:50:58 +0000
commit9edb2a384af2078f4769d2d3afbb7f7bb4939c25 (patch)
tree595127e796267b78dee191eb96485f3ebb0a8588
parentc90f59429e964b1a14ffae775957cf515d204fe1 (diff)
Fix handling of DAHDI_GETGAINS_V1 missing from r6124 .
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6134 a0bf4364-ded3-4de4-8d8a-66a801d63aff
-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 7749c68..70d84f1 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -3552,6 +3552,7 @@ static int dahdi_common_ioctl(struct inode *node, struct file *file, unsigned in
chan->pulsebreaktime = stack.param.pulsebreaktime;
chan->pulseaftertime = stack.param.pulseaftertime;
break;
+ case DAHDI_GETGAINS_V1: /* Intentional drop through. */
case DAHDI_GETGAINS: /* get gain stuff */
if (copy_from_user(&stack.gain,(struct dahdi_gains *) data,sizeof(stack.gain)))
return -EFAULT;