summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-05-19 21:53:54 +0000
committerShaun Ruffell <sruffell@digium.com>2011-05-19 21:53:54 +0000
commitb39942e54f9655239641827eb36f63713e665f97 (patch)
tree542e6275ffd7cb176ce8c0e0d16cfe86b33bbc44 /drivers/dahdi/wcte12xp
parentf48dae6268cc58dbd883e60e12c349adcbdfd669 (diff)
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 <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9914 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r--drivers/dahdi/wcte12xp/base.c4
1 files changed, 2 insertions, 2 deletions
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;