hostapd: update to git snapshot of 2018-03-26
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 430-hostapd_cli_ifdef.patch
1 --- a/hostapd/hostapd_cli.c
2 +++ b/hostapd/hostapd_cli.c
3 @@ -417,7 +417,6 @@ static int hostapd_cli_cmd_sa_query(stru
4 #endif /* CONFIG_IEEE80211W */
5
6
7 -#ifdef CONFIG_WPS
8 static int hostapd_cli_cmd_wps_pin(struct wpa_ctrl *ctrl, int argc,
9 char *argv[])
10 {
11 @@ -643,7 +642,6 @@ static int hostapd_cli_cmd_wps_config(st
12 ssid_hex, argv[1]);
13 return wpa_ctrl_command(ctrl, buf);
14 }
15 -#endif /* CONFIG_WPS */
16
17
18 static int hostapd_cli_cmd_disassoc_imminent(struct wpa_ctrl *ctrl, int argc,
19 @@ -1518,7 +1516,6 @@ static const struct hostapd_cli_cmd host
20 { "sa_query", hostapd_cli_cmd_sa_query, hostapd_complete_stations,
21 "<addr> = send SA Query to a station" },
22 #endif /* CONFIG_IEEE80211W */
23 -#ifdef CONFIG_WPS
24 { "wps_pin", hostapd_cli_cmd_wps_pin, NULL,
25 "<uuid> <pin> [timeout] [addr] = add WPS Enrollee PIN" },
26 { "wps_check_pin", hostapd_cli_cmd_wps_check_pin, NULL,
27 @@ -1543,7 +1540,6 @@ static const struct hostapd_cli_cmd host
28 "<SSID> <auth> <encr> <key> = configure AP" },
29 { "wps_get_status", hostapd_cli_cmd_wps_get_status, NULL,
30 "= show current WPS status" },
31 -#endif /* CONFIG_WPS */
32 { "disassoc_imminent", hostapd_cli_cmd_disassoc_imminent, NULL,
33 "= send Disassociation Imminent notification" },
34 { "ess_disassoc", hostapd_cli_cmd_ess_disassoc, NULL,