Fixed bug in data size check for sysfs reading of sdo entries.
--- a/master/sdo_entry.c Fri Jun 06 08:12:34 2008 +0000
+++ b/master/sdo_entry.c Fri Jun 06 09:12:05 2008 +0000
@@ -185,7 +185,7 @@
off_t off = 0;
unsigned int i;
- if (request->data_size != entry->bit_length) {
+ if (request->data_size * 8 != entry->bit_length) {
EC_ERR("Dictionary size of Sdo entry 0x%04X:%02X (%u bit) does not "
"match size of uploaded data (%u byte)!\n", entry->sdo->index,
entry->subindex, entry->bit_length, request->data_size);