aboutsummaryrefslogtreecommitdiff
path: root/package/network/services/hostapd/patches/251-wpa_cli_ifdef.patch
blob: d7f967d779f6831795353cad70814fbf56dd4d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 2 Dec 2013 13:07:46 +0000
Subject: [PATCH] hostapd: always include p2p options in wpa_cli

--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -26,6 +26,15 @@
 #include <cutils/properties.h>
 #endif /* ANDROID */
 
+#ifndef CONFIG_P2P
+#define CONFIG_P2P
+#endif
+#ifndef CONFIG_AP
+#define CONFIG_AP
+#endif
+#ifndef CONFIG_MESH
+#define CONFIG_MESH
+#endif
 
 static const char *const wpa_cli_version =
 "wpa_cli v" VERSION_STR "\n"