diff options
Diffstat (limited to 'wctdm24xxp')
-rw-r--r-- | wctdm24xxp/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wctdm24xxp/base.c b/wctdm24xxp/base.c index 97efb5f..35700f3 100644 --- a/wctdm24xxp/base.c +++ b/wctdm24xxp/base.c @@ -3129,7 +3129,7 @@ static void wctdm_post_initialize(struct wctdm *wc) wc->chans[x].sigcap = ZT_SIG_FXOKS | ZT_SIG_FXOLS | ZT_SIG_FXOGS | ZT_SIG_SF | ZT_SIG_EM | ZT_SIG_CLEAR; else if (wc->modtype[x] == MOD_TYPE_QRV) wc->chans[x].sigcap = ZT_SIG_SF | ZT_SIG_EM | ZT_SIG_CLEAR; - } else if (!(wc->chans[x].sigcap == ZT_SIG_BROKEN)) { + } else if (!(wc->chans[x].sigcap & ZT_SIG_BROKEN)) { wc->chans[x].sigcap = 0; } } @@ -3992,7 +3992,7 @@ retry: printk("Port %d: Installed -- MANUAL FXS\n",x + 1); } else { printk("Port %d: FAILED FXS (%s)\n", x + 1, fxshonormode ? fxo_modes[_opermode].name : "FCC"); - wc->chans[x].sigcap = ZT_SIG_BROKEN; + wc->chans[x].sigcap = ZT_SIG_BROKEN | __ZT_SIG_FXO; } } else if (!(ret = wctdm_init_voicedaa(wc, x, 0, 0, sane))) { wc->cardflag |= (1 << x); |