P2PS: Correct config_methods for different P2P cases
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Fri, 29 Apr 2016 10:46:44 +0000 (16:16 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 19 May 2016 16:16:10 +0000 (19:16 +0300)
commit467fc149d357ddda1dbed57617989252fb4d61d9
tree907e1ad1956010f7e79572c94ee6f5f8d0817f63
parent9d136b00ac57becdaca04e5931e851e185d7fe79
P2PS: Correct config_methods for different P2P cases

Add P2PS config flag only when config_methods are set. This restores the
pre-P2PS behavioer for the cases where Display or Keypad config method
is specified for a peer (i.e., do not add the new P2PS method in that
case).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p_build.c