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