diff options
Diffstat (limited to 'fw/esp32/components/eos/rng.c')
-rw-r--r-- | fw/esp32/components/eos/rng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/esp32/components/eos/rng.c b/fw/esp32/components/eos/rng.c index ca9e051..3927df1 100644 --- a/fw/esp32/components/eos/rng.c +++ b/fw/esp32/components/eos/rng.c @@ -14,7 +14,7 @@ static void rng_handler(unsigned char _mtype, unsigned char *buffer, uint16_t bu rng_len = (uint16_t)buffer[0] << 8; rng_len |= (uint16_t)buffer[1]; - if (rng_len > EOS_NET_MTU) { + if (rng_len > EOS_NET_SIZE_BUF) { rng_len = 0; goto rng_handler_fin; } |