iwcap: fix handling kill signal during dump
authorFelix Fietkau <nbd@nbd.name>
Thu, 9 Mar 2017 07:53:52 +0000 (08:53 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 13 Dec 2017 13:44:05 +0000 (14:44 +0100)
commitcfb5a550e4c693a3cb54ae6f6a341d0a5b78d637
treefb8affa42a796b58bf2d128d2f2e3a6965409da2
parent14114935691d185f50cfde882deab99ac1374001
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>
(cherry picked from commit 2f09a1e3c950c9b2993ae52d1b0e78317c344470)
package/network/utils/iwcap/src/iwcap.c