[PATCH] P2P: Do not append WPS and P2P IE for the interface not support P2P

Jouni Malinen j
Sun Oct 28 12:18:56 PDT 2012


On Wed, Oct 24, 2012 at 07:59:00PM -0700, Stone Piao wrote:
> When we start wpa_supplicant on one interface and we do not issue WPS_PBC or WPS_PIN cmd on wpa_cli to activate WPS, then there is no WPS IE in the probe requests. However, if we start wpa_supplicant to control two interfaces and one of them supports P2P feature, then all the probe requests will contain WPS and P2P IE even if we do not activate WPS. So the following patch is generated to fix this.

The P2P information is added by design to make P2P device discovery
somewhat faster by allowing the non-P2P scans to be used, too. If you
want to disable this, you can use the per-interface p2p_disabled=1
parameter to do so for the interfaces that won't be used for P2P
operations.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list