revision 121:795fec623ce9
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 121:795fec623ce9 |
parent | 120:7e4549476110 |
child | 122:3a557bc205d8 |
author | nkeynes |
date | Mon Mar 20 12:00:15 2006 +0000 (17 years ago) |
Fix incorrect response length for condition queries
![]() | src/maple/maple.c | view | annotate | diff | log |
1.1 --- a/src/maple/maple.c Mon Mar 20 11:59:57 2006 +00001.2 +++ b/src/maple/maple.c Mon Mar 20 12:00:15 2006 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: maple.c,v 1.6 2005-12-26 03:54:55 nkeynes Exp $1.6 + * $Id: maple.c,v 1.7 2006-03-20 12:00:15 nkeynes Exp $1.7 *1.8 * Implements the core Maple bus, including DMA transfers to and from the bus.1.9 *1.10 @@ -142,6 +142,7 @@1.11 else status = dev->get_condition(dev, func,1.12 return_buf+8,1.13 &out_length );1.14 + out_length++;1.15 if( status == 0 ) {1.16 status = MAPLE_RESP_DATA;1.17 PUTWORD(4,func);
.