From: Jouni Malinen Date: Sun, 5 Jan 2014 06:51:23 +0000 (+0200) Subject: tests: Remove unnecessary reset() steps X-Git-Tag: hostap_2_1~199 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=710f96fd8cf649de9d6c918af3c8a22dabe4c6ce;p=thirdparty%2Fhostap.git 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 --- 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()