diff options
author | Eyal Shapira <eyal@wizery.com> | 2012-08-13 14:49:56 +0300 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-08-13 14:58:44 +0300 |
commit | a56f6df6f8e5dcd650893e8beb4a16a633c179d1 (patch) | |
tree | 0fec7a2fd48f3caf4f8788f4954ee4918837c1df /tests | |
parent | b8302f1894435388480719008e1b52903c7ab797 (diff) | |
download | external_wpa_supplicant_8_ti-a56f6df6f8e5dcd650893e8beb4a16a633c179d1.zip external_wpa_supplicant_8_ti-a56f6df6f8e5dcd650893e8beb4a16a633c179d1.tar.gz external_wpa_supplicant_8_ti-a56f6df6f8e5dcd650893e8beb4a16a633c179d1.tar.bz2 |
Add P2P IEs to probe requests only when in P2P (UPSTREAM)
The current code caused P2P and consquently WPS IEs to be added
to any probe as the check was for non null global->p2p.
global->p2p gets set whenever P2P is initialized globally
and that occurs on the first interface init.
Fix this by indicating wps is in use only when in active P2P
discovery or connection establishement.
(i.e. not P2P_IDLE - either doing search, neg or provisioning)
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions