[RFC 10/13] hostapd: More wpa_auth debugging messages.

Jouni Malinen j
Sat Oct 22 11:20:36 PDT 2011


On Fri, Oct 14, 2011 at 03:34:34PM -0700, greearb at candelatech.com wrote:
> From: Ben Greear <greearb at candelatech.com>
> 
> Also converts a few wpa_printf to wpa_msg.

Need to be in separate patches if you want to get these in..

> -		wpa_printf(MSG_INFO, "WPA: Invalid EAPOL-Key frame - "
> +		wpa_msg(NULL, MSG_INFO, "WPA: Invalid EAPOL-Key frame - "

wpa_msg(NULL, ..) does not make any sense. It is just more expensive way
of doing wpa_printf() since the callback function returns without doing
anything and what remains is reallocation of a buffer for generating the
message and wpa_printf()..

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list