diff options
Diffstat (limited to 'wifi/wifi.c')
-rw-r--r-- | wifi/wifi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wifi/wifi.c b/wifi/wifi.c index d3dcb55..e730ccd 100644 --- a/wifi/wifi.c +++ b/wifi/wifi.c @@ -689,7 +689,7 @@ int wifi_send_command(int index, const char *cmd, char *reply, size_t *reply_len int wifi_ctrl_recv(int index, char *reply, size_t *reply_len) { int res; - int ctrlfd = wpa_ctrl_get_fd(ctrl_conn[index]); + int ctrlfd = wpa_ctrl_get_fd(monitor_conn[index]); struct pollfd rfds[2]; memset(rfds, 0, 2 * sizeof(struct pollfd)); |