P2P: Fix PD Failure event to show peer device address

The p2p_dev_addr parameter in the P2P-PROV-DISC-FAILURE event (added in
commit f65a239ba4) was supposed to the P2P
Device Address of the peer, not the local device.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2012-04-26 17:09:02 +03:00 committed by Jouni Malinen
parent c98b83f2d3
commit 25a94f525c

View file

@ -1854,7 +1854,7 @@ static void wpas_prov_disc_fail(void *ctx, const u8 *peer,
wpa_msg(wpa_s, MSG_INFO, P2P_EVENT_PROV_DISC_FAILURE
" p2p_dev_addr=" MACSTR " status=%d",
MAC2STR(wpa_s->global->p2p_dev_addr), status);
MAC2STR(peer), status);
wpas_notify_p2p_provision_discovery(wpa_s, peer, 0 /* response */,
status, 0, 0);