P2P: Omit P2P Group Info in case of no connected peers
authorChaitanya TK <chaitanya.mgit@gmail.com>
Sat, 30 Mar 2013 18:08:42 +0000 (20:08 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 30 Mar 2013 18:08:42 +0000 (20:08 +0200)
commit558d69e3ba17093c3e800dd18faed5e17506af56
tree6443a8c0b6f8a5f970702ed6712f1eb0163ad8ff
parent65a32cdbcb42f09521622d409dfcb04a888432d0
P2P: Omit P2P Group Info in case of no connected peers

As per P2P specification v1.2: "The P2P Group Info attribute shall be
omitted if there are zero connected P2P Clients."

Do not add the attribute if there are not connected peers.

Signed-hostap: Chaitanya T K <chaitanya.mgit@gmail.com>
src/p2p/p2p_group.c