Re: [PATCH 1/2] ctrl_iface: BSS command return FAIL on no data

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

 



On Wed, Jun 08, 2016 at 10:01:37PM +0300, Jonathan Afek wrote:
> The BSS supplicant command returns a 0 len reply when failing to
> pasrse some information for a BSS.
> This patch make the function wpa_supplicant_ctrl_iface_bss()
> return -1 on such cases instead of 0 and therefore the BSS command
> will return FAIL.
> This is important since when using udp control interfaces
> sending a 0 len reply does not send a reply at all and the
> control interface can wait forever (or until a timeout is reached)
> for a reply.

I guess this could be more likely fine than the 1/6 from the previous
set. That said, I'm dropping these two patches for now until we figure
out what to do with the UDP ctrl_iface backend and zero-length
responses. That really needs to work for other commands anyway..
 
-- 
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