P2P: Respect p2p_ignore_shared_freq on p2p_group_add
authorEliad Peller <eliad@wizery.com>
Thu, 3 Mar 2016 16:18:30 +0000 (18:18 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 4 Mar 2016 19:17:32 +0000 (21:17 +0200)
commitc69ef1d2da0d06fe6b254b34f33050a2e594b946
treede1fb290144d0ebd189dc7cb79db818c9b087bb2
parent4115b0524ba11c1cc007ccbb27d9ca3958afce77
P2P: Respect p2p_ignore_shared_freq on p2p_group_add

Make sure wpas_p2p_init_go_params() respects the p2p_ignore_shared_freq
configuration option. Choose currently used frequencies only if this
option is not set, or if there are no unused channels left.

Signed-off-by: Eliad Peller <eliad@wizery.com>
wpa_supplicant/p2p_supplicant.c