3b93bed6b1
Identified by LGTM, the loop was incorrectly incrementing a different variable and conditional on another. Fixes: fe2b986ac662 ("net/dpaa2: support generic flow") Suggested-by: Ferruh Yigit <ferruh.yigit@intel.com> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>