[PATCH v2 1/2] nl80211: Unconditionally clear nl_msg

Jouni Malinen j at w1.fi
Fri Feb 19 18:52:49 EST 2021

On Wed, Feb 17, 2021 at 12:14:32PM +0200, Andrei Otcheretianski wrote:
> Previously nl80211_nlmsg_clear() would be called under a special condition
> when valid_handler is NULL and valid_data is -1.
> Such API is not very convenient as it forces the handler to be NULL.
> Change the send_and_recv function to always clear the nl_msg, which will
> simplify all this logic.

Thanks, applied patch 1/2 with one missed caller cleanup added.
Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list