[PATCH AUTOSEL 4.4 07/13] qed: Fix reading wrong value in loop condition