[PATCH] Fix MIN() macro

Baligh GASMI gasmibal at gmail.com
Thu Apr 7 01:29:11 PDT 2022


Sorry for that.
There is nothing broken, It is just about using a more common style.

First, define MIN() macro as defined in other files (wmm.c), and make
it available for all the file instead of #define it, and then #undef
it.

Second, add missing brackets around arguments.


Le mer. 6 avr. 2022 à 22:27, Jouni Malinen <j at w1.fi> a écrit :
>
> On Thu, Mar 17, 2022 at 01:18:34PM +0100, Baligh Gasmi wrote:
> > Fix macro and avoid macro definition within function.
>
> Can you please be more specific on what is broken and needs to be fixed
> here? Why should we avoid defining a macro within a function?
>
> --
> Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list