431-wpa_cli_ifdef.patch 357 B

123456789101112131415161718
  1. --- a/wpa_supplicant/wpa_cli.c
  2. +++ b/wpa_supplicant/wpa_cli.c
  3. @@ -26,6 +26,15 @@
  4. #include <cutils/properties.h>
  5. #endif /* ANDROID */
  6. +#ifndef CONFIG_P2P
  7. +#define CONFIG_P2P
  8. +#endif
  9. +#ifndef CONFIG_AP
  10. +#define CONFIG_AP
  11. +#endif
  12. +#ifndef CONFIG_MESH
  13. +#define CONFIG_MESH
  14. +#endif
  15. static const char *const wpa_cli_version =
  16. "wpa_cli v" VERSION_STR "\n"