]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
P2P: Set user_initiated_pd separately from the join parameter
authorSunil Dutt <duttus@codeaurora.org>
Thu, 22 Nov 2012 22:48:58 +0000 (00:48 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 22 Nov 2012 22:48:58 +0000 (00:48 +0200)
commit67527166630699161444a25dea63c363a5839e54
tree29a2a7ef014f9d370a0f71b4124fea1e9b503217
parent16e38f2e3460089ffa0bde61e06741af3908ed62
P2P: Set user_initiated_pd separately from the join parameter

p2p_prov_disc_req() used the join parameter to figure out whether the PD
request was a user initiated or not. This does not cover all use cases
of PD, so add a separate parameter to allow caller to indicate whether
the user requested the operation.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.h
src/p2p/p2p_go_neg.c
src/p2p/p2p_pd.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant_i.h