summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm24xxp
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2009-08-19 16:40:13 +0000
committerKevin P. Fleming <kpfleming@digium.com>2009-08-19 16:40:13 +0000
commit63417bd683f043e71253331542eb0ee6d77826e7 (patch)
treed53f3ccb48ad7c7cb858377ac2c55a91352b746e /drivers/dahdi/wctdm24xxp
parent6329a1dab946e0d77229a745671d15d887b21e58 (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')
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c4
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);
}
}