summaryrefslogtreecommitdiff
path: root/util/comm-dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/comm-dev.c')
-rw-r--r--util/comm-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/comm-dev.c b/util/comm-dev.c
index fb5fb31ae6..89b1cd9069 100644
--- a/util/comm-dev.c
+++ b/util/comm-dev.c
@@ -110,7 +110,7 @@ int comm_init_dev(void)
* TODO: need a way to get this from the driver and EC. For now,
* pick a magic lowest common denominator value.
*/
- ec_max_outsize = EC_PROTO2_MAX_PARAM_SIZE - 8;
+ ec_max_insize = ec_max_outsize = EC_PROTO2_MAX_PARAM_SIZE - 8;
return 0;
}