P2PS: Validate WPS config methods more accurately in PD Request
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Thu, 2 Jul 2015 07:45:01 +0000 (10:45 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jul 2015 17:24:01 +0000 (20:24 +0300)
commit2fc866d1bc89f2e10a51b129a76d9aa0e0bfc1be
treeac9ce6827f52d34981c1f985373fd15eca523835
parentea210b9f8a28962559a6ec9f171b7cf20c841e87
P2PS: Validate WPS config methods more accurately in PD Request

In case of a P2PS PD, allow keypad, display, and P2PS WPS config
methods. For a legacy PD, allow keypad, display, and pushbutton methods.

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