P2P: Update target GO Device Address from BSS entry during join
authorJouni Malinen <j@w1.fi>
Sun, 14 Jun 2015 20:14:26 +0000 (23:14 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 14 Jun 2015 20:16:55 +0000 (23:16 +0300)
commite6012e839d4cf77413e0f4cf35cbfd9f71291632
tree834a10da4d8ed84e6c7171cf0f2dd57b6de5c899
parentdd025790e55d2577af31ba9e85466d272724fb7d
P2P: Update target GO Device Address from BSS entry during join

It is possible for P2P_CONNECT-join command to be issued on a GO's P2P
Interface Address before the P2P peer entry is available to map this
into the GO's P2P Device Address. This could result in the join
operation failing to continue after receiving PD Response due to the
address mismatch (source address = P2P Device Address while only the P2P
Interface Address is known). Fix this by updating the pending join P2P
Device Address based on the BSS entry, if needed.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/p2p_supplicant.c