hostapd: adjust patches to work with git am
[openwrt/staging/xback.git] / package / network / services / hostapd / patches / 431-wpa_cli_ifdef.patch
index 256f6b5977323b00215927a0051738eda376eef7..d7f967d779f6831795353cad70814fbf56dd4d3e 100644 (file)
@@ -1,11 +1,21 @@
+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
-@@ -25,6 +25,9 @@
+@@ -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 =