[PATCH] Add CONFIG_ANDROID_LOG support

Johannes Berg johannes at sipsolutions.net
Fri Feb 25 03:38:39 EST 2011


On Thu, 2011-02-24 at 16:50 -0800, Dmitry Shmidt wrote:

>  static int wpa_debug_syslog = 0;
>  #endif /* CONFIG_DEBUG_SYSLOG */
> -
> -
> +#ifdef CONFIG_ANDROID_LOG
> +int wpa_debug_level = MSG_WARNING;
> +#else
>  int wpa_debug_level = MSG_INFO;
> +#endif

I can understand the different log target part, but why this? I can't
believe android isn't able to add a config file or command line option??

johannes



More information about the HostAP mailing list