Re: [PATCH v2 2/2] nl80211: use the process_bss_event for the nl_connect handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux