summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-08-19 02:27:49 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-08-19 02:27:49 +0000
commit059e0fa03c63025261ba8411132814046f5280f4 (patch)
tree4e5c0f10f20ec7010205190a19a7de05a304027b
parent899fb6c4053962dc4b288f804f58b467c24d3eb9 (diff)
don't report the VPM servicing more spans than the card actually has
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1327 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--wct4xxp_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wct4xxp_base.c b/wct4xxp_base.c
index 8dfbefd..8594611 100644
--- a/wct4xxp_base.c
+++ b/wct4xxp_base.c
@@ -2726,7 +2726,7 @@ static void t4_vpm450_init(struct t4 *wc)
release_firmware(firmware);
#endif
wc->vpm = T4_VPM_PRESENT;
- printk("VPM450: Present and operational servicing %d span(s)\n", vpmspans);
+ printk("VPM450: Present and operational servicing %d span(s)\n", wc->numspans);
}
static void t4_vpm400_init(struct t4 *wc)
@@ -2861,7 +2861,7 @@ static void t4_vpm400_init(struct t4 *wc)
t4_vpm_out(wc, x, i, (x < 4) ? 0x55 : 0xAA);
}
- printk("VPM400%s: Present and operational servicing %d span(s)\n", (gen2vpm ? "(2nd Gen)" : ""), vpmspans);
+ printk("VPM400%s: Present and operational servicing %d span(s)\n", (gen2vpm ? "(2nd Gen)" : ""), wc->numspans);
wc->vpm = T4_VPM_PRESENT;
}