[PATCH 4.19 021/118] qed: Fix reading wrong value in loop condition