diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/p2p.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c index f19b3f6..4feabc6 100644 --- a/src/p2p/p2p.c +++ b/src/p2p/p2p.c @@ -2311,6 +2311,11 @@ void p2p_flush(struct p2p_data *p2p) { struct p2p_device *dev, *prev; p2p_clear_timeout(p2p); +#ifdef ANDROID_P2P + if (p2p->state == P2P_SEARCH) + wpa_msg(p2p->cfg->msg_ctx, MSG_INFO, + P2P_EVENT_FIND_STOPPED); +#endif p2p_set_state(p2p, P2P_IDLE); p2p->start_after_scan = P2P_AFTER_SCAN_NOTHING; p2p->go_neg_peer = NULL; |