P2P: Clear P2PS provision state on P2P flush
Otherwise, if a P2PS provision is incomplete before the flush, it can cause incorrect provision responses to be sent out. Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
This commit is contained in:
parent
a818425d1c
commit
4cc0f909b2
1 changed files with 2 additions and 0 deletions
|
@ -3022,6 +3022,8 @@ void p2p_flush(struct p2p_data *p2p)
|
|||
os_free(p2p->after_scan_tx);
|
||||
p2p->after_scan_tx = NULL;
|
||||
p2p->ssid_set = 0;
|
||||
p2ps_prov_free(p2p);
|
||||
p2p_reset_pending_pd(p2p);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue