tests: Modify test_p2p_discovery to use global control interface
authorIlan Peer <ilan.peer@intel.com>
Wed, 4 Feb 2015 09:30:34 +0000 (04:30 -0500)
committerJouni Malinen <j@w1.fi>
Thu, 5 Feb 2015 11:48:40 +0000 (13:48 +0200)
commite9986d8b0b76c16fec147fe7740ff2d1c517ef74
tree661af75859a02e32bf6e86c53cb54fd8eb8cb8f1
parenta918e48af16a6f6938bfcfbbfd15217f8f06480c
tests: Modify test_p2p_discovery to use global control interface

1. Modify discovery_stop to use global control interface when calling
   P2P_FLUSH.
2. Modify p2p_listen_and_offchannel_tx to use the global control
   interface when waiting for P2P PD event.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
tests/hwsim/test_p2p_discovery.py