tests: Remove unnecessary reset() steps

The FLUSH command clears disallow_aps, p2p_disabled, and
p2p_per_sta_psk, so there is no need to clear them separately.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-01-05 08:51:23 +02:00
parent 083916c022
commit 710f96fd8c

View file

@ -92,11 +92,7 @@ class WpaSupplicant:
self.request("SET p2p_add_cli_chan 0")
self.request("SET p2p_no_go_freq ")
self.request("SET p2p_pref_chan ")
self.request("SET disallow_aps ")
self.request("SET p2p_no_group_iface 1")
self.request("P2P_SET per_sta_psk 0")
self.request("P2P_SET disabled 0")
self.request("P2P_SERVICE_FLUSH")
self.group_ifname = None
self.dump_monitor()