[PATCH v2 2/2] nl80211: use the process_bss_event for the nl_connect handler
Jouni Malinen
j at w1.fi
Sat Mar 6 13:50:36 GMT 2021
On Tue, Feb 23, 2021 at 10:47:57AM +0000, Otcheretianski, Andrei wrote:
> > > - ret = send_and_recv_msgs_owner(drv, msg,
> > get_connect_handle(bss), 0,
> > > - NULL, NULL, NULL, NULL);
> > > + ret = send_and_recv_msgs_connect_handle(drv, msg, bss);
> >
> > This one here uses set_owner == 0.. Is it really correct to replace that with 1?
>
> After looking at nl80211 code, looks that these attributes are ignored for leave_mesh().. So I guess this should be ok.
That does not sound exactly like the level of confidence I'd like to
hear.. I applied this with the set_owner argument passed through
send_and_recv_msgs_connect_handle() to maintain existing behavior.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list