From b39942e54f9655239641827eb36f63713e665f97 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Thu, 19 May 2011 21:53:54 +0000 Subject: wcte12xp: Fix regression preventing VPMADT032 from loading. Commit r9781, "wcte12xp, wctdm24xxp: Remove unused support for booting VPMADT032 from SPI", introduced a bug that would prevent the VPMADT032 from ever being able to complete its startup. This regression did not make it to any releases. Signed-off-by: Shaun Ruffell git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9914 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- drivers/dahdi/wcte12xp/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/dahdi/wcte12xp') diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c index a65b279..e239f2c 100644 --- a/drivers/dahdi/wcte12xp/base.c +++ b/drivers/dahdi/wcte12xp/base.c @@ -399,9 +399,9 @@ static void cmd_dequeue_vpmadt032(struct t1 *wc, unsigned char *eframe) if (!x) { if (test_and_clear_bit(VPM150M_HPIRESET, &vpm->control)) { - eframe[CMD_BYTE(x, 0, 0)] = 0x0b; + eframe[CMD_BYTE(x, 0, 1)] = 0x0b; } else { - eframe[CMD_BYTE(x, 0, 0)] = leds; + eframe[CMD_BYTE(x, 0, 1)] = leds; } } else { eframe[CMD_BYTE(x, 0, 1)] = 0x00 | leds; -- cgit v1.2.3