P2PS: Save wps_prov_info on the responder side
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Thu, 2 Jul 2015 07:45:02 +0000 (10:45 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jul 2015 17:26:07 +0000 (20:26 +0300)
commit223ccebfa3e6ef249a9715209521c34f946c35d4
treea2fbda8cc7c74ee3fe9ed9efb11b65779a851744
parent2fc866d1bc89f2e10a51b129a76d9aa0e0bfc1be
P2PS: Save wps_prov_info on the responder side

When device A sends PD response to device B, device A should save
wps_prov_info for device B. Not doing so would result in a redundant and
incorrect PD flow, e.g., when upon PROV-DISC-DONE event device B starts
a GO and device A should join it.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
src/p2p/p2p_pd.c