mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-13 18:04:40 +08:00

The variable i is equal to q->len after exit the for loop. Check the received data should not change the logic of update packet_idx. So let's simplify the code a bit. Signed-off-by: Axel Lin <axel.lin@ingics.com>