Browse Source

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>
Jouni Malinen 11 years ago
parent
commit
710f96fd8c
1 changed files with 0 additions and 4 deletions
  1. 0 4
      tests/hwsim/wpasupplicant.py

+ 0 - 4
tests/hwsim/wpasupplicant.py

@@ -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()