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

Stone Piao piaoyun
Wed Oct 24 19:59:00 PDT 2012


Hi All,

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.

Any comments are appreciated, thanks a lot.




More information about the Hostap mailing list