Fix bug in refactorized code for NPU offloading.
This fixes the association issue on 2.4GHz.
The root cause is that do() ... while() will run at least once even when it shouldn't run (qid != 0).
Change-Id: I8e644967a0fb1242787d4deee052528e6c900fc3