diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2009-08-19 16:40:13 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2009-08-19 16:40:13 +0000 |
commit | c942256302465c8fc80a014bab9eb4fa9aa7274c (patch) | |
tree | d53f3ccb48ad7c7cb858377ac2c55a91352b746e /drivers/dahdi/wctdm24xxp/base.c | |
parent | 5da287cb2dbeac2fdcd6e3a3e408f3f32ca710ca (diff) |
Ensure that dahdi_scan correctly reports VPM presence.
The wct4xxp driver (for the dual/quad span T1/E1 cards) and the wcte12xp
driver (for the single span VoiceBus-based T1/E1 cards) did not properly
update the 'devicetype' field reported by dahdi_scan when a VPM was found
during the card startup process. As a result, dahdi_scan did not show that
a VPM was present on the card, even if it was.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7038 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/base.c')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 65ff54d..4959981 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -3332,9 +3332,9 @@ static void wctdm_post_initialize(struct wctdm *wc) } if (wc->vpm100) { - strncat(wc->span.devicetype, " with VPM100M", sizeof(wc->span.devicetype) - 1); + strncat(wc->span.devicetype, " (VPM100M)", sizeof(wc->span.devicetype) - 1); } else if (wc->vpmadt032) { - strncat(wc->span.devicetype, " with VPMADT032", sizeof(wc->span.devicetype) - 1); + strncat(wc->span.devicetype, " (VPMADT032)", sizeof(wc->span.devicetype) - 1); } } |