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

Jouni Malinen j
Wed Mar 30 07:09:32 PDT 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