diff options
| author | Eyal Shapira <eyal@wizery.com> | 2013-12-19 12:03:29 +0200 |
|---|---|---|
| committer | Steve Kondik <shade@chemlab.org> | 2014-06-12 14:08:00 -0700 |
| commit | 337f60b95fcdb44723d0eb4e8540d7cb218e4c96 (patch) | |
| tree | 1dc50a72792d4fa425a424920859beb6d2fadebe | |
| parent | 6c450db6dec07816f8650329b42fef93a0533fc4 (diff) | |
| download | android_external_wpa_supplicant_8-337f60b95fcdb44723d0eb4e8540d7cb218e4c96.tar.gz android_external_wpa_supplicant_8-337f60b95fcdb44723d0eb4e8540d7cb218e4c96.tar.bz2 android_external_wpa_supplicant_8-337f60b95fcdb44723d0eb4e8540d7cb218e4c96.zip | |
P2P: Cancel action frame offchan wait after recv GO Neg Conf
The missing call to scan_action_done() may keep us off-channel for 250
ms following sending GO Negotiation Response. In case the operating
channel is different from this channel and we're GO, a race could lead
to start beaconing while off-channel. This could potentially cause the
Beacon frames to go out on incorrect channel with some drivers.
Signed-hostap: Eyal Shapira <eyal@wizery.com>
Git-commit: 472fa2168a950315cb939029252cd75366eb113a
Git-repo : git://w1.fi/srv/git/hostap.git
Change-Id: I1ca89e56aa32ce1dfbacb7f9769c0f536d5b9b3e
CRs-fixed: 620894
| -rw-r--r-- | src/p2p/p2p_go_neg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/p2p_go_neg.c b/src/p2p/p2p_go_neg.c index e855d8a1..bc8cbdb6 100644 --- a/src/p2p/p2p_go_neg.c +++ b/src/p2p/p2p_go_neg.c @@ -1089,6 +1089,7 @@ void p2p_process_go_neg_conf(struct p2p_data *p2p, const u8 *sa, return; } dev->flags &= ~P2P_DEV_WAIT_GO_NEG_CONFIRM; + p2p->cfg->send_action_done(p2p->cfg->cb_ctx); if (msg.dialog_token != dev->dialog_token) { p2p_dbg(p2p, "Unexpected Dialog Token %u (expected %u)", |
