summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-07-20 14:12:24 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-07-20 14:12:24 +0000
commit1898cb9ee63108517e659d1920b44080a10a859c (patch)
tree78155ae2f9248698c4811c320fe67a8a01ec98ed
parent9fa59077adb83278885b331047f94af581737de4 (diff)
fix breakage from last commit (wasn't checking properly for MOD_TYPE_FXS)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@698 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwctdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wctdm.c b/wctdm.c
index d25fd16..87be10b 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -1794,7 +1794,7 @@ static int wctdm_close(struct zt_chan *chan)
#else
module_put(THIS_MODULE);
#endif
- if (wc->modtype[chan->chanpos - 1])
+ if (wc->modtype[chan->chanpos - 1] == MOD_TYPE_FXS)
wc->mod.fxs.idletxhookstate[chan->chanpos - 1] = 1;
/* If we're dead, release us now */