[PATCH] Add CONFIG_ANDROID_LOG support

Johannes Berg johannes
Fri Feb 25 00:38:39 PST 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