summaryrefslogtreecommitdiffstats
path: root/src/waproamd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/waproamd.c')
-rw-r--r--src/waproamd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/waproamd.c b/src/waproamd.c
index b37b38d..5d6f6b5 100644
--- a/src/waproamd.c
+++ b/src/waproamd.c
@@ -339,6 +339,9 @@ int go(struct interface *i) {
goto finish;
if (force_assoc_check || (!disabled && !use_assocwatch && !paused)) {
+
+ daemon_log(LOG_INFO, "Querying association status");
+
if ((associated = interface_is_assoc(i, &associated_ap)) < 0) {
if (!use_ifmonitor)
goto finish;
@@ -457,8 +460,8 @@ int go(struct interface *i) {
case SIGUSR2:
if (paused > 0) {
- daemon_log(LOG_INFO, "SIGUSR2: Daemon resumed (#%i)", paused);
- force_assoc_check = ! --paused;
+ daemon_log(LOG_INFO, "SIGUSR2: Daemon resumed (#%i)", paused--);
+ force_assoc_check = !paused;
}
break;