[PATCH] clean-up setting iface->p2p_mgmt flag

Jouni Malinen j at w1.fi
Mon Apr 2 03:32:44 PDT 2018


On Mon, Feb 12, 2018 at 09:29:06PM +0200, Vasyl Vavrychuk wrote:
> Previously we set this flag to one in wpa_supplicant_init_iface if
> Wi-Fi controller does not have dedicated P2P-interface.
> 
> This setting had effect only in scope of wpa_supplicant_init_iface and
> it contradicts with comment to 'struct wpa_interface > p2p_mgmt' field.
> This comment says that this flag is used only if Wi-Fi controller has
> dedicated P2P-device interface.
> 
> Also it contradicts with usage of similiar p2p_mgmt field in
> wpa_supplicant struct. Again field p2p_mgmt in wpa_supplicant struct
> is set only for dedicated P2P-device interface.
> 
> After this change wpa_interface become input argument to
> wpa_supplicant_init_iface that we are not modifying.

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list