P2PS: Allow P2P_CONNECT command for P2PS connection with/without PIN
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Fri, 29 Apr 2016 10:50:12 +0000 (16:20 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 19 May 2016 16:16:26 +0000 (19:16 +0300)
commit31d7fb14af96aa745b5acdf03d8b4f0569c964e5
treeb80f69f7863e573a27fb9188d09a82cbae0a270d
parent467fc149d357ddda1dbed57617989252fb4d61d9
P2PS: Allow P2P_CONNECT command for P2PS connection with/without PIN

This allows using P2PS config method with or without PIN for connection.
wpa_supplicant should internally handle the default PIN "12345670" and
shall also allow connection irrespective of PIN used in P2P_CONNECT.

For example,
 1. P2P_CONNECT 02:2a:fb:22:22:33 p2ps
 2. P2P_CONNECT 02:2a:fb:22:22:33 xxxxxxxx p2ps
Where the second one is maintained for backwards compatibility.

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