[PATCH] WPA: pairwise should be printed as a bool

Jouni Malinen j at w1.fi
Sat May 4 04:50:24 EDT 2013


On Thu, May 02, 2013 at 11:29:47AM +0200, Johannes Berg wrote:
> Since "pairwise" is defined as an integer, the current
> assignment leads to it having the value 0 or 8, which
> is a bit strange in debug output:
> 
> WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=46 keyidx=2 encr=1)
> 
> Use !!(...) to normalize it to 0 or 1.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list