]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Send GO Negotiation Confirm without wait
authorJohannes Berg <johannes.berg@intel.com>
Wed, 6 Jun 2012 13:37:54 +0000 (16:37 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 6 Jun 2012 13:37:54 +0000 (16:37 +0300)
The GO Negotiation Confirm frame doesn't need to be sent with a wait
since we don't expect a response to it.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>

src/p2p/p2p_go_neg.c

index 2bf48b3506a72819466c1f1902993441525050a6..5b723b6b75a5097c04ad417e911ad2f7e5257bc9 100644 (file)
@@ -1022,7 +1022,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), 200) < 0) {
+                           wpabuf_head(conf), wpabuf_len(conf), 0) < 0) {
                wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG,
                        "P2P: Failed to send Action frame");
                p2p_go_neg_failed(p2p, dev, -1);