summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87343c2)
raw | patch | inline | side by side (parent: 87343c2)
author | Johannes Berg <johannes.berg@intel.com> | |
Sun, 5 Feb 2012 17:05:45 +0000 (19:05 +0200) | ||
committer | Jouni Malinen <j@w1.fi> | |
Sun, 5 Feb 2012 17:05:45 +0000 (19:05 +0200) |
When the GO negotiation peer is assigned, the state also cannot be IDLE,
SEARCH, or LISTEN_ONLY.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
SEARCH, or LISTEN_ONLY.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
src/p2p/p2p_pd.c | patch | blob | history |
diff --git a/src/p2p/p2p_pd.c b/src/p2p/p2p_pd.c
index 1ee59c5ab10a2805caa19d0483ddc2a5e46d9fb8..167469d49f69adc0b51d77006ed913f55989b390 100644 (file)
--- a/src/p2p/p2p_pd.c
+++ b/src/p2p/p2p_pd.c
else
dev->flags &= ~P2P_DEV_PD_FOR_JOIN;
- if (p2p->go_neg_peer ||
- (p2p->state != P2P_IDLE && p2p->state != P2P_SEARCH &&
- p2p->state != P2P_LISTEN_ONLY)) {
+ if (p2p->state != P2P_IDLE && p2p->state != P2P_SEARCH &&
+ p2p->state != P2P_LISTEN_ONLY) {
wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Busy with other "
"operations; postpone Provision Discovery Request "
"with " MACSTR " (config methods 0x%x)",