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@xxxxx> 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 _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap