P2P: Show persistent group info on P2P_PEER data
authorJouni Malinen <j@w1.fi>
Thu, 22 Dec 2011 19:45:20 +0000 (21:45 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 22 Dec 2011 19:45:20 +0000 (21:45 +0200)
commit87f841a1407dc8f988d6c43a9c4307e34e86986f
tree8b7304fe6c8c2eb36736e5dc22821f81bc4c18b4
parentb3ffc80b8cb5642c990cf5f1c32f2e646a33365a
P2P: Show persistent group info on P2P_PEER data

Add "persistent=<network id>" line to P2P_PEER ctrl_iface data
if a persistent group credentials are available for this peer.
This makes it easier for external programs to figure out when
a persistent group could be re-invoked with this peer.

For now, this information is only available on the P2P client,
but similar information can be added for GO once a list of P2P
clients is maintained with the persistent group data.

Signed-hostap: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h