P2P Flush when connecting a peer

Tomasz Bursztyka tomasz.bursztyka
Tue Jul 1 03:24:56 PDT 2014


Hi,

I noticed that calling p2p_flush when being connected/connecting to a 
peer still
flushes out this peer from the found list.

Should it instead:
- keep it alive (as p2p_expires_peers() does)
- stop everything related to this peer (connection, etc...)

I would go for the first myself, since flush is imho like a forced 
expiration of the peer.
Thus: if that one is part of go_neg/part of a group/etc... we should 
keep it alive.

If so, I can provide a patch

Tomasz



More information about the Hostap mailing list