[PATCH] Replace printf with wpa_printf debug message

Jouni Malinen j at w1.fi
Mon Oct 14 14:18:08 EDT 2013


On Mon, Oct 07, 2013 at 01:03:25PM -0700, Dmitry Shmidt wrote:
> diff --git a/src/ap/ieee802_1x.c b/src/ap/ieee802_1x.c
> -		printf("Could not set station " MACSTR " flags for kernel "
> -		       "driver (errno=%d).\n", MAC2STR(sta->addr), errno);
> +		wpa_printf(MSG_DEBUG, "Could not set station " MACSTR " flags "
> +			   "for kernel driver (errno=%d).\n",
> +			   MAC2STR(sta->addr), errno);

Thanks, applied with the '\n' removed (wpa_printf() adds it
automatically).
 
-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list