aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_go_neg.c
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-01-14 13:17:00 -0800
committerDmitry Shmidt <dimitrysh@google.com>2014-01-14 13:17:00 -0800
commit344abd362cfe2d03ed956666527352826b67bde5 (patch)
tree8bbd1c163f0b19a6cbd3e66d25de40dae44fb89a /src/p2p/p2p_go_neg.c
parent97a1e7d55662fa4a41b05b9fbd2e9e03e153266a (diff)
downloadandroid_external_wpa_supplicant_8-344abd362cfe2d03ed956666527352826b67bde5.tar.gz
android_external_wpa_supplicant_8-344abd362cfe2d03ed956666527352826b67bde5.tar.bz2
android_external_wpa_supplicant_8-344abd362cfe2d03ed956666527352826b67bde5.zip
Cumulative patch from commit efc64886b8a285440e9954b5395a5370d8c5f84f
efc6488 nl80211: Pass station supported channel and oper class info 3ed9727 TDLS: Pass peer's Supported channel and oper class info during sta_add eed65aa hostapd: DFS setup seg0 correctly for HT40- 25592b2 hostapd: DFS/CSA check if CSA in progress b19ef32 Android: Remove hostapd dump_file functionality c48414a P2P: Limit join-a-group scans based on SSID from invitation 78f0c93 Flush secondary device types on FLUSH command 2b38410 P2P: Allow requested device type to be specified with p2p_find d9bb282 Clear configuration blobs on FLUSH command c60ba9f Skip network disabling on expected EAP failure 7185e16 EAP-FAST peer: Make debug clearer on missing pac_file configuration 7b88b64 EXT PW: Fix hash return in password fetching 08081ad hostapd: Skip full AP configuration validation on SET command 1785d2e P2P: Wait on GO Negotiation Confirm transmit 472fa21 P2P: Cancel action frame offchan wait after recv GO Neg Conf bfdc2a3 bsd: Fix NULL pointer dereference on error path 38bbd06 bsd: Prepare event buffer on init process 3043b4f nl80211: Document how to configure for libnl 2.0 and 3.2 Change-Id: Ia592bc948eaa43dbfaf0b4a20231efca61acb11f Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'src/p2p/p2p_go_neg.c')
-rw-r--r--src/p2p/p2p_go_neg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p2p/p2p_go_neg.c b/src/p2p/p2p_go_neg.c
index 0e688a96..874f4341 100644
--- a/src/p2p/p2p_go_neg.c
+++ b/src/p2p/p2p_go_neg.c
@@ -1037,7 +1037,7 @@ fail:
else
freq = dev->listen_freq;
if (p2p_send_action(p2p, freq, sa, p2p->cfg->dev_addr, sa,
- wpabuf_head(conf), wpabuf_len(conf), 0) < 0) {
+ wpabuf_head(conf), wpabuf_len(conf), 200) < 0) {
p2p_dbg(p2p, "Failed to send Action frame");
p2p_go_neg_failed(p2p, dev, -1);
p2p->cfg->send_action_done(p2p->cfg->cb_ctx);
@@ -1079,6 +1079,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)",