431-wpa_cli_ifdef.patch 260 B

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