From: Jouni Malinen Date: Sat, 15 Nov 2014 10:56:02 +0000 (+0200) Subject: tests: Clear ignore_old_scan_res setting X-Git-Tag: hostap_2_4~1157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eec0cc8da2286133bb2c53fd695bd26aa2689eed;p=thirdparty%2Fhostap.git tests: Clear ignore_old_scan_res setting This parameter was used in some of the NFC test cases to make scanning more robust in case of changing AP configuration. However, the parameter was not cleared anywhere, so it could have been left in use for other test cases as well. To get more consistent behavior, clear the value back to its default between test cases. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/wpasupplicant.py b/tests/hwsim/wpasupplicant.py index 5cacfa10e..f1bf022ad 100644 --- a/tests/hwsim/wpasupplicant.py +++ b/tests/hwsim/wpasupplicant.py @@ -101,6 +101,7 @@ class WpaSupplicant: self.request("SET p2p_pref_chan ") self.request("SET p2p_no_group_iface 1") self.request("SET p2p_go_intent 7") + self.request("SET ignore_old_scan_res 0") if self.gctrl_mon: try: self.gctrl_mon.detach()