Lines Matching defs:monitor_conn
68 static struct wpa_ctrl *monitor_conn;
574 monitor_conn = wpa_ctrl_open(path);
575 if (monitor_conn == NULL) {
580 if (wpa_ctrl_attach(monitor_conn) != 0) {
581 wpa_ctrl_close(monitor_conn);
583 ctrl_conn = monitor_conn = NULL;
588 wpa_ctrl_close(monitor_conn);
590 ctrl_conn = monitor_conn = NULL;
647 int ctrlfd = wpa_ctrl_get_fd(monitor_conn);
671 return wpa_ctrl_recv(monitor_conn, reply, reply_len);
686 if (monitor_conn == NULL) {
764 if (monitor_conn != NULL) {
765 wpa_ctrl_close(monitor_conn);
766 monitor_conn = NULL;