diff options
Diffstat (limited to 'util/comm-lpc.c')
-rw-r--r-- | util/comm-lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/comm-lpc.c b/util/comm-lpc.c index c6ddee93c5..3290bc7c7c 100644 --- a/util/comm-lpc.c +++ b/util/comm-lpc.c @@ -138,7 +138,7 @@ static int ec_command_lpc_3(int command, int version, int i; /* Fail if output size is too big */ - if (outsize + sizeof(rq) > EC_HOST_PACKET_SIZE) + if (outsize + sizeof(rq) > EC_LPC_HOST_PACKET_SIZE) return -EC_RES_REQUEST_TRUNCATED; /* Fill in request packet */ |