[PATCH 03/16] P2P: Clear BSS list when clearing the P2P state
Mon Jun 29 10:26:06 PDT 2015
On Sun, Jun 21, 2015 at 01:24:53PM +0000, Peer, Ilan wrote:
> > From: Jouni Malinen [mailto:j at w1.fi]
> > Why would this be done? If an upper layer applications wants to clear the BSS
> > list, it can do so (e.g., "BSS_FLUSH 0"). I don't see why P2P_FLUSH should
> > explicitly force this to happen.
> This was added since at least for the case of a dedicated P2P Device interface the command to flush a BSS does not exist. Would you consider adding this to the P2P global interface redirection. Alternatively, this can be added conditionally only for the case of a dedicate P2P Device interface.
Hmm.. What do you mean with the command not existing? "BSS_FLUSH 0" can
be issued to any wpa_supplicant interface.
What command are you proposing to redirect here?
I just don't see why P2P_FLUSH would clear BSS table. P2P state and BSS
table are two completely independent data structures.
Jouni Malinen PGP id EFC895FA
More information about the Hostap