diff options
Diffstat (limited to 'src/common/wpa_helpers.c')
| -rw-r--r-- | src/common/wpa_helpers.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/wpa_helpers.c b/src/common/wpa_helpers.c index 28913b9139aaa..f1594213f97f5 100644 --- a/src/common/wpa_helpers.c +++ b/src/common/wpa_helpers.c @@ -172,7 +172,8 @@ int get_wpa_status(const char *ifname, const char *field, char *obuf, if (ctrl == NULL) return -1; len = sizeof(buf); - if (wpa_ctrl_request(ctrl, "STATUS", 6, buf, &len, NULL) < 0) { + if (wpa_ctrl_request(ctrl, "STATUS-NO_EVENTS", 16, buf, &len, + NULL) < 0) { wpa_ctrl_close(ctrl); return -1; } |
