diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2010-07-26 15:31:19 -0700 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2010-09-09 07:17:20 -0700 |
commit | 3dfda83d9c69f521e4d4c1c6979be557c549d173 (patch) | |
tree | 3dd7cb178677dffbac576dd21822471fb248cac5 /src/p2p/p2p_go_neg.c | |
parent | 4147a2cc64df65a787276203e57d76ac0fef8954 (diff) | |
download | external_wpa_supplicant_8_ti-3dfda83d9c69f521e4d4c1c6979be557c549d173.zip external_wpa_supplicant_8_ti-3dfda83d9c69f521e4d4c1c6979be557c549d173.tar.gz external_wpa_supplicant_8_ti-3dfda83d9c69f521e4d4c1c6979be557c549d173.tar.bz2 |
P2P: Add Device Password ID to GO Neg Request RX event
This event indicates the Device Password ID that the peer tried
to use in GO Negotiation. For example:
P2P-GO-NEG-REQUEST 02:40:61:c2:f3:b7 dev_passwd_id=4
Diffstat (limited to 'src/p2p/p2p_go_neg.c')
-rw-r--r-- | src/p2p/p2p_go_neg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/p2p/p2p_go_neg.c b/src/p2p/p2p_go_neg.c index 227b47c..f55bba7 100644 --- a/src/p2p/p2p_go_neg.c +++ b/src/p2p/p2p_go_neg.c @@ -395,7 +395,8 @@ void p2p_process_go_neg_req(struct p2p_data *p2p, const u8 *sa, status = P2P_SC_FAIL_INFO_CURRENTLY_UNAVAILABLE; if (dev) dev->flags |= P2P_DEV_PEER_WAITING_RESPONSE; - p2p->cfg->go_neg_req_rx(p2p->cfg->cb_ctx, sa); + p2p->cfg->go_neg_req_rx(p2p->cfg->cb_ctx, sa, + msg.dev_password_id); } else if (p2p->go_neg_peer && p2p->go_neg_peer != dev) { wpa_msg(p2p->cfg->msg_ctx, MSG_DEBUG, "P2P: Already in Group Formation with another peer"); |