Home
last modified time | relevance | path

Searched refs:ctrl_ifname (Results 1 – 2 of 2) sorted by relevance

/external/wpa_supplicant_8/hostapd/
Dhostapd_cli.c36 static char *ctrl_ifname = NULL; variable
165 os_free(ctrl_ifname); in hostapd_cli_reconnect()
166 ctrl_ifname = next_ctrl_ifname; in hostapd_cli_reconnect()
167 if (!ctrl_ifname) in hostapd_cli_reconnect()
170 ctrl_conn = hostapd_cli_open_connection(ctrl_ifname); in hostapd_cli_reconnect()
306 hostapd_cli_exec(action_file, ctrl_ifname, pos); in hostapd_cli_action_process()
1002 ctrl_ifname); in hostapd_cli_cmd_interface()
1879 if (!ctrl_conn && hostapd_cli_reconnect(ctrl_ifname) == 0) in hostapd_cli_ping()
2085 os_free(ctrl_ifname); in main()
2086 ctrl_ifname = os_strdup(optarg); in main()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c51 static char *ctrl_ifname = NULL; variable
1816 os_free(ctrl_ifname); in wpa_cli_cmd_interface()
1817 ctrl_ifname = os_strdup(argv[0]); in wpa_cli_cmd_interface()
1818 if (!ctrl_ifname) { in wpa_cli_cmd_interface()
1823 if (wpa_cli_open_connection(ctrl_ifname, 1) == 0) { in wpa_cli_cmd_interface()
1824 printf("Connected to interface '%s'.\n", ctrl_ifname); in wpa_cli_cmd_interface()
1827 ctrl_ifname); in wpa_cli_cmd_interface()
4120 const char *ifname = ctrl_ifname; in wpa_cli_action_process()
4190 wpa_cli_exec(action_file, ctrl_ifname, pos); in wpa_cli_action_process()
4192 wpa_cli_exec(action_file, ctrl_ifname, pos); in wpa_cli_action_process()
[all …]