hostapd: adjust patches to work with git am
[openwrt/staging/xback.git] / package / network / services / hostapd / patches / 431-wpa_cli_ifdef.patch
1 From: Felix Fietkau <nbd@openwrt.org>
2 Date: Mon, 2 Dec 2013 13:07:46 +0000
3 Subject: [PATCH] hostapd: always include p2p options in wpa_cli
4
5 --- a/wpa_supplicant/wpa_cli.c
6 +++ b/wpa_supplicant/wpa_cli.c
7 @@ -26,6 +26,15 @@
8 #include <cutils/properties.h>
9 #endif /* ANDROID */
10
11 +#ifndef CONFIG_P2P
12 +#define CONFIG_P2P
13 +#endif
14 +#ifndef CONFIG_AP
15 +#define CONFIG_AP
16 +#endif
17 +#ifndef CONFIG_MESH
18 +#define CONFIG_MESH
19 +#endif
20
21 static const char *const wpa_cli_version =
22 "wpa_cli v" VERSION_STR "\n"