[PATCH 4.4 63/91] qed: Fix reading wrong value in loop condition