diff options
Diffstat (limited to 'src/wpa_ctrl.c')
-rw-r--r-- | src/wpa_ctrl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wpa_ctrl.c b/src/wpa_ctrl.c index 2403057..fbfc85f 100644 --- a/src/wpa_ctrl.c +++ b/src/wpa_ctrl.c @@ -517,6 +517,7 @@ int owfd_wpa_ctrl_dispatch(struct owfd_wpa_ctrl *wpa, int timeout) n = max; } + r = 0; for (i = 0; i < n; ++i) { e = &ev[i]; if (e->data.ptr == &wpa->ev_fd) |