]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Remove unnecessary reset() steps
authorJouni Malinen <j@w1.fi>
Sun, 5 Jan 2014 06:51:23 +0000 (08:51 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 7 Jan 2014 08:45:10 +0000 (10:45 +0200)
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>

tests/hwsim/wpasupplicant.py

index 0fc5c79fd7e81ca7e6f5be0fc39f93c4a2fc9389..8c46eeeb9db52ad5481940b46e56407e8c686248 100644 (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()