Jouni Malinen j
Tue Oct 23 05:41:47 PDT 2012

On Tue, Oct 23, 2012 at 01:40:07PM +0530, Nishant Sharma wrote:
> I am doing following steps:
> 1. On device A::  p2p_prov_disc <addr> keypad   (command)
> 2. On device B::  P2P-PROV-DISC-ENTER-PIN event is received
> 3. On device A::  P2P-PROV-DISC-SHOW-PIN event is received
> 4. On device A::  p2p_connect <addr> #pin         (command)
> 5. On device B::  P2P-GO-NEG-REQUEST    event is received
> 6. On device A::  *P2P-GO-NEG-FAILURE   status = -1 *  event is received
>    This leads to connection not being established.

You did not authorize the connection on device, i.e., you will need to
run p2p_connect on both devices. In addition, that p2p_connect needs to
specify where the PIN came from (display/keypad).

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list