[PATCH] P2P: Cleanup p2p_invite argument passing for ctrl interface

Jouni Malinen j
Sat Jun 23 15:01:55 PDT 2012


On Wed, May 02, 2012 at 02:39:09PM -0700, nirav shah wrote:
> The p2p_invite api requires group interface name or persistent
> group id with peer address to which the invitation is to be sent.

It does not require the peer address if it is already known which is the
case with re-invocation of a persistent group where the local end is the
P2P client (GO address is available in the configuration).

> However ctrl interface documentation and argument check function
> does not mandate this. Enforcing this in the ctrl interface.

This would break a valid use case of "p2p_invite persistent=<id>".

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list