From 710f96fd8cf649de9d6c918af3c8a22dabe4c6ce Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 Jan 2014 08:51:23 +0200 Subject: [PATCH] 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 --- tests/hwsim/wpasupplicant.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py index 0fc5c79fd..8c46eeeb9 100644 --- a/tests/hwsim/wpasupplicant.py +++ b/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()