[PATCH] common: Fix ieee802_11_rsnx_capab()

Jouni Malinen j at w1.fi
Thu Nov 2 07:48:28 PDT 2023


On Thu, Nov 02, 2023 at 03:21:52PM +0200, Andrei Otcheretianski wrote:
> The function should return bool (0/1) and not int.
> In some environments bool may be defined as unsigned char, so bits
> higher then 7 will be discarded during the downcast.
> Fix it.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list