[PATCH] P2P: add a missing 'return' after building IE from an empty string

Jouni Malinen j at w1.fi
Wed Mar 30 10:09:32 EDT 2011


On Wed, Mar 30, 2011 at 03:50:41PM +0200, Eliad Peller wrote:
> When building IE from an empty string and CONFIG_WPS_STRICT is
> not defined, redundant 2 bytes are being added to the string.
> 
> We have to return right after building the "dummy" string.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list