Re: [PATCH 1/2] wpa_supplicant: Clear ext_mgmt_frame_handling flag on P2P_FLUSH

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

 



On Mon, Aug 21, 2017 at 07:37:11PM +0300, Andrei Otcheretianski wrote:
> This allows to use this flag on a dedicated P2P device interface,
> which is needed to support MGMT_TX/RX on P2P device.

> diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
> @@ -6669,6 +6669,7 @@ static void p2p_ctrl_flush(struct wpa_supplicant *wpa_s)
>  {
>  	os_memset(wpa_s->p2p_auth_invite, 0, ETH_ALEN);
>  	wpa_s->force_long_sd = 0;
> +	wpa_s->ext_mgmt_frame_handling = 0;

This sounds strange.. wpa_s->ext_mgmt_frame_handling is already cleared
to 0 on FLUSH. Why would it need to be done on P2P_FLUSH as well?
ext_mgmt_frame_handling should not really have anything specific to do
with P2P.
 
-- 
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