summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-12-30 18:46:36 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-12-30 18:46:36 +0000
commitb642e8ea1c42b82302b624947a12456a46e82dfb (patch)
tree4583915078747d9c7bd5228f8c2a01f2004a561c
parent79631558e10918a958abb06bfe7d2f6bf341c6a0 (diff)
Better name for the ioctl, not to confuse programmers w/ country codes, etc
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@526 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xwctdm.c2
-rwxr-xr-xwctdm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/wctdm.c b/wctdm.c
index b3e9ec7..03f3105 100755
--- a/wctdm.c
+++ b/wctdm.c
@@ -1676,7 +1676,7 @@ static int wctdm_ioctl(struct zt_chan *chan, unsigned int cmd, unsigned long dat
wctdm_setreg(wc, chan->chanpos - 1, regop.reg, regop.val);
}
break;
- case WCTDM_SET_ECHOZONE:
+ case WCTDM_SET_ECHOTUNE:
whichecho = fxo_modes[_opermode].echoentry;
if (wc->modtype[chan->chanpos - 1] != MOD_TYPE_FXO)
diff --git a/wctdm.h b/wctdm.h
index 9624dd8..6501b79 100755
--- a/wctdm.h
+++ b/wctdm.h
@@ -48,5 +48,5 @@ struct wctdm_regop {
#define WCTDM_GET_STATS _IOR (ZT_CODE, 60, struct wctdm_stats)
#define WCTDM_GET_REGS _IOR (ZT_CODE, 61, struct wctdm_regs)
#define WCTDM_SET_REG _IOW (ZT_CODE, 62, struct wctdm_regop)
-#define WCTDM_SET_ECHOZONE _IOW (ZT_CODE, 63, int)
+#define WCTDM_SET_ECHOTUNE _IOW (ZT_CODE, 63, int)