diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2014-11-13 13:02:35 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-11-13 13:02:35 -0800 |
| commit | 041cbd6b89ace9e02d326d83e7fbe18858aec9b5 (patch) | |
| tree | 2a640ca14831fc095b50d4808c114f093a66082e | |
| parent | 3f1e974682e709a7bc829b023641a5c692aaa0a8 (diff) | |
| parent | c8e5c227008101d58dfee354f3c9555b5482495b (diff) | |
| download | android_external_wpa_supplicant_8-041cbd6b89ace9e02d326d83e7fbe18858aec9b5.tar.gz android_external_wpa_supplicant_8-041cbd6b89ace9e02d326d83e7fbe18858aec9b5.tar.bz2 android_external_wpa_supplicant_8-041cbd6b89ace9e02d326d83e7fbe18858aec9b5.zip | |
Merge "P2P: Stop driver listen in p2p_state_timeout()"
| -rw-r--r-- | src/p2p/p2p.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c index 3bc000aa..7e12866a 100644 --- a/src/p2p/p2p.c +++ b/src/p2p/p2p.c @@ -3513,6 +3513,10 @@ static void p2p_state_timeout(void *eloop_ctx, void *timeout_ctx) p2p_dbg(p2p, "Timeout (state=%s)", p2p_state_txt(p2p->state)); p2p->in_listen = 0; + if (p2p->drv_in_listen) { + p2p_dbg(p2p, "Driver is still in listen state - stop it"); + p2p->cfg->stop_listen(p2p->cfg->cb_ctx); + } switch (p2p->state) { case P2P_IDLE: |
