diff options
author | Doug Bailey <dbailey@digium.com> | 2009-01-21 15:39:46 +0000 |
---|---|---|
committer | Doug Bailey <dbailey@digium.com> | 2009-01-21 15:39:46 +0000 |
commit | 613ed956297773445ac225da4d8129eb9df73b10 (patch) | |
tree | 7e43011c546fbee75f25fd7669d16aefd579bb76 /drivers/dahdi/wctdm24xxp/wctdm24xxp.h | |
parent | 9b8c4f9965b097601a256452e5fe6dc6f9bdc8ad (diff) |
Change the DAHDI_VMWI ioctl call to pass data via structure.
Changed wctdm and wctdm24xxp to handle these calls.
(issue #14104)
Reported by: alecdavis
Patches:
mwiioctl_structure_dahdi.diff2.txt uploaded by dbailey (license )
Tested by: alecdavis, dbailey
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5785 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/wctdm24xxp.h')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/wctdm24xxp.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h index 1e970e4..86a9f95 100644 --- a/drivers/dahdi/wctdm24xxp/wctdm24xxp.h +++ b/drivers/dahdi/wctdm24xxp/wctdm24xxp.h @@ -248,9 +248,8 @@ struct wctdm { int idletxhookstate; /* IDLE changing hook state */ int lasttxhook; /* Bits 0-3 are written to proslic reg 64, Bit 4 indicates if the last write is pending */ int palarms; - int mwisendtype; - int vmwimessages; /* 0=none 1-255=number of messages */ - int vmwilinereverse; /* MWI Line Reversal*/ + struct dahdi_vmwi_info vmwisetting; + int linereverse_mwi; int reversepolarity; /* polarity reversal */ struct calregs calregs; } fxs; |