diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-08-11 15:34:20 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2008-08-11 15:34:20 +0000 |
commit | d0106ae371aeaf18a7a632142f5daca57beb93b0 (patch) | |
tree | 1a0ddcc07ce758ea3245ac99d53d492349298187 /drivers/dahdi/xpp/card_fxo.c | |
parent | f058aac11fdb51a967c4e7451d03850e53023c49 (diff) |
xpp: fxo: Fix support for CID_STYLE_PASS_ALWAYS
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4760 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/card_fxo.c')
-rw-r--r-- | drivers/dahdi/xpp/card_fxo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/card_fxo.c b/drivers/dahdi/xpp/card_fxo.c index a6b5266..917a69f 100644 --- a/drivers/dahdi/xpp/card_fxo.c +++ b/drivers/dahdi/xpp/card_fxo.c @@ -460,6 +460,8 @@ static int FXO_card_init(xbus_t *xbus, xpd_t *xpd) priv->polarity[i] = POL_UNKNOWN; /* will be updated on next battery sample */ priv->battery[i] = BATTERY_UNKNOWN; /* will be updated on next battery sample */ priv->power[i] = POWER_UNKNOWN; /* will be updated on next battery sample */ + if(caller_id_style == CID_STYLE_PASS_ALWAYS) + BIT_SET(xpd->cid_on, i); } XPD_DBG(GENERAL, xpd, "done\n"); for_each_line(xpd, i) { |