P2P: Modify wpas_p2p_init_go_params()
authorIlan Peer <ilan.peer@intel.com>
Mon, 27 Jul 2015 19:24:23 +0000 (22:24 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 3 Aug 2015 21:38:54 +0000 (00:38 +0300)
commitb1308121003480607dccb427cd2b8524021c5128
tree31d7bb0904e12dff528b9e2a1853d342aad55581
parenta7160f7ede509bf1bd4b346899711e25320f13db
P2P: Modify wpas_p2p_init_go_params()

Not all paths in wpas_p2p_init_go_params() verified that the candidate
frequency can be used for GO purposes. Fix this, and in addition
re-factor the code to put better emphasis on the frequency selection
priorities.

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