iwcap: fix handling kill signal during dump
authorFelix Fietkau <nbd@nbd.name>
Thu, 9 Mar 2017 07:53:52 +0000 (08:53 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Mar 2017 12:29:03 +0000 (13:29 +0100)
commit2f09a1e3c950c9b2993ae52d1b0e78317c344470
tree3c92ef1dc1536c7c7bd2446cffcff8950664d182
parent51130b992734070b419ab047531b2978d67fb706
iwcap: fix handling kill signal during dump

Do not run another loop iteration before checking the stop flag

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/utils/iwcap/src/iwcap.c