diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-05-10 05:03:19 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-05-10 05:03:19 +0000 |
commit | 58d72a7794acc5d64a4d0580fca22aae04c149ca (patch) | |
tree | 0422f539a96b0f782976ddcac3420fe06376e808 /zaptel.c | |
parent | 05009014ce4be0942d9e6caf9dee1313f8435b6d (diff) |
Also clear gainalloc when freeing rxgain
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@179 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.c')
-rwxr-xr-x | zaptel.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3467,6 +3467,7 @@ static int zt_chan_ioctl(struct inode *inode, struct file *file, unsigned int cm chan->rxgain = defgain; chan->txgain = defgain; + chan->gainalloc = 0; spin_unlock_irqrestore(&chan->lock, flags); if (rxgain) |