Searched refs:ctrl_conn (Results 1 – 2 of 2) sorted by relevance
26 static struct wpa_ctrl *ctrl_conn; variable84 if (!ctrl_conn) in register_event_handler()97 if (!ctrl_conn) in unregister_event_handler()117 ctrl_conn = wpa_ctrl_open(ifname); in hostapd_cli_open_connection()118 return ctrl_conn; in hostapd_cli_open_connection()133 ctrl_conn = wpa_ctrl_open2(cfile, client_socket_dir); in hostapd_cli_open_connection()135 return ctrl_conn; in hostapd_cli_open_connection()142 if (ctrl_conn == NULL) in hostapd_cli_close_connection()145 unregister_event_handler(ctrl_conn); in hostapd_cli_close_connection()147 wpa_ctrl_detach(ctrl_conn); in hostapd_cli_close_connection()[all …]
40 static struct wpa_ctrl *ctrl_conn; variable128 ctrl_conn = wpa_ctrl_open(ifname); in wpa_cli_open_connection()129 if (ctrl_conn == NULL) in wpa_cli_open_connection()171 ctrl_conn = wpa_ctrl_open2(cfile, client_socket_dir); in wpa_cli_open_connection()172 if (ctrl_conn == NULL) { in wpa_cli_open_connection()205 if (ctrl_conn == NULL) in wpa_cli_close_connection()209 wpa_ctrl_detach(interactive ? mon_conn : ctrl_conn); in wpa_cli_close_connection()212 wpa_ctrl_close(ctrl_conn); in wpa_cli_close_connection()213 ctrl_conn = NULL; in wpa_cli_close_connection()234 if (ctrl_conn == NULL) { in _wpa_ctrl_command()[all …]