P2P: Optimize scan frequencies list when re-joining a persistent group
authorAvraham Stern <avraham.stern@intel.com>
Sun, 29 Mar 2015 10:10:36 +0000 (13:10 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 29 Mar 2015 17:52:09 +0000 (20:52 +0300)
commit989e784601887734e696b3fac0ad6d101badd7ea
tree334bc0dc3c0bfec87ea8742f94818a7f48a9de44
parent154a1d5f7f8a504e29e280777ac4666684f34354
P2P: Optimize scan frequencies list when re-joining a persistent group

When starting a P2P client to re-join a persistent group
(P2P_GROUP_ADD persistent=<id>), it is possible that the P2P GO was
already found in previous scans. Try to get the P2P GO operating
frequency from the scan results list so wpa_supplicant will initially
scan only the P2P GO known operating frequency.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
wpa_supplicant/p2p_supplicant.c