commit | 795acf020e5c3b082219ed5b73036dcb48ca55d6 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Dec 06 09:01:43 2016 +0800 |
committer | goldsimon <goldsimon@gmx.de> | Tue Dec 06 11:36:25 2016 +0100 |
tree | aa82756a8009c64c543bfe204941c1428468607d | |
parent | cc25c2634bcb0010ab910b955f2200395ea470a5 [diff] |
lwiperf: Simplify #if LWIPERF_CHECK_RX_DATA guard 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>