[PATCH AUTOSEL 4.19 21/68] qed: Fix reading wrong value in loop condition