wctdm24xxp: Remove SLIC_LF_OPPENDING setting on fxs->idletxhookstate from set_vmwi

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9868 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Alec Davis 2011-03-19 06:09:02 +00:00
parent e27f89b0b6
commit c166c172dc

View File

@ -2423,7 +2423,7 @@ static int set_vmwi(struct wctdm *wc, int chan_idx)
/* Set line polarity for new VMWI state */ /* Set line polarity for new VMWI state */
if (POLARITY_XOR(chan_idx)) { if (POLARITY_XOR(chan_idx)) {
fxs->idletxhookstate |= SLIC_LF_OPPENDING | SLIC_LF_REVMASK; fxs->idletxhookstate |= SLIC_LF_REVMASK;
/* Do not set while currently ringing or open */ /* Do not set while currently ringing or open */
if (((fxs->lasttxhook & SLIC_LF_SETMASK) != SLIC_LF_RINGING) && if (((fxs->lasttxhook & SLIC_LF_SETMASK) != SLIC_LF_RINGING) &&
((fxs->lasttxhook & SLIC_LF_SETMASK) != SLIC_LF_OPEN)) { ((fxs->lasttxhook & SLIC_LF_SETMASK) != SLIC_LF_OPEN)) {