Fresh pull from upstream
[librecmc/librecmc.git] / package / network / services / hostapd / patches / 430-hostapd_cli_ifdef.patch
1 --- a/hostapd/hostapd_cli.c
2 +++ b/hostapd/hostapd_cli.c
3 @@ -447,7 +447,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 @@ -673,7 +672,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 @@ -1367,7 +1365,6 @@ static const struct hostapd_cli_cmd host
20         { "sa_query", hostapd_cli_cmd_sa_query, NULL,
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 @@ -1392,7 +1389,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, NULL },
33         { "ess_disassoc", hostapd_cli_cmd_ess_disassoc, NULL, NULL },
34         { "bss_tm_req", hostapd_cli_cmd_bss_tm_req, NULL, NULL },