]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Allow auto GO on DFS channels if driver supports this
authorSunil Dutt <usdutt@qti.qualcomm.com>
Tue, 13 Jun 2017 11:52:02 +0000 (17:22 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 7 Jul 2017 10:49:01 +0000 (13:49 +0300)
commitcc6088463a26d757dd44d3364e0d2dc06592068b
treeba28d11f37721864c174d95c2a1a6ce7a94226d8
parentfe3e0bac1f3cf0524c26c48aa6a8fed70c988540
P2P: Allow auto GO on DFS channels if driver supports this

If a DFS forced frequency is provided in 'p2p_group_add' and the driver
supports DFS offload, the frequency was rejected in
wpas_p2p_init_go_params(). However, it was accepted in
wpas_p2p_select_go_freq() and wpas_p2p_group_add(). To make the behavior
consistent, the DFS frequency is now accepted in
wpas_p2p_init_go_params() similar to the way done in
wpas_p2p_select_go_freq().

Redundant check in wpas_p2p_group_add() for DFS forced frequency is
removed.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/p2p_supplicant.c