]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Check if the pref_freq reported by the driver supports P2P
authorSunil Dutt <usdutt@qti.qualcomm.com>
Fri, 21 Oct 2016 06:43:16 +0000 (12:13 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 24 Oct 2016 15:37:27 +0000 (18:37 +0300)
commit783c2920cc9117b663506dc82223867bfa792a5d
tree912263ff2504364af43e4610bc4725ca15ddcb77
parenta660993772fbe9c1e5f5bb7f754c2e647bc86c44
P2P: Check if the pref_freq reported by the driver supports P2P

Filter out get_pref_freq_list() (i.e.,
QCA_NL80211_VENDOR_SUBCMD_GET_PREFERRED_FREQ_LIST) output in case of
channel negotiation by removing channels that do not allow P2P operation
at all. Previously, only the explicitly disallowed channels were removed
and that could have resulted in selecting an operating channel that is
not allowed for P2P and failing to complete the operation to start the
group.

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