Searched refs:ctrl_conn (Results 1 – 4 of 4) 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 …]
137 ctrl_conn = NULL; in WpaGui()192 if (ctrl_conn) { in ~WpaGui()193 wpa_ctrl_close(ctrl_conn); in ~WpaGui()194 ctrl_conn = NULL; in ~WpaGui()374 if (ctrl_conn) { in openCtrlConnection()375 wpa_ctrl_close(ctrl_conn); in openCtrlConnection()376 ctrl_conn = NULL; in openCtrlConnection()388 ctrl_conn = wpa_ctrl_open(cfile); in openCtrlConnection()389 if (ctrl_conn == NULL) { in openCtrlConnection()396 wpa_ctrl_close(ctrl_conn); in openCtrlConnection()[all …]
128 struct wpa_ctrl *ctrl_conn; variable