D-Bus: Make P2P Group Passphrase property getter available for P2P Client
authorJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 10:25:32 +0000 (12:25 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 20:50:27 +0000 (22:50 +0200)
commit1a4efde5bd399fad481e5741c628ba657d529a70
tree1f7589e12d2bcd947a689be87f69da85a66ea2f2
parent20e1d81e093e01e1e1405e2abbc5616213c70aba
D-Bus: Make P2P Group Passphrase property getter available for P2P Client

There is no need to limit this property based on the role of the device
in the group, so return the passphrase if it is available. It will be
available in GO role and it may be available in P2P Client role based on
whether the peer GO provided it during the WPS provisioning step.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new_handlers_p2p.c