[PATCH 5/7] tests: Few trivial fixes to p2ps tests

Ilan Peer ilan.peer at intel.com
Thu Jul 30 02:00:04 EDT 2015


From: Andrei Otcheretianski <andrei.otcheretianski at intel.com>

Remove call to flash_scan_cache() as it is no longer needed.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski at intel.com>
Reviewed-by: Ilan Peer <ilan.peer at intel.com>
---
 tests/hwsim/test_p2ps.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/hwsim/test_p2ps.py b/tests/hwsim/test_p2ps.py
index 01fcb73..ccc2a6b 100644
--- a/tests/hwsim/test_p2ps.py
+++ b/tests/hwsim/test_p2ps.py
@@ -880,7 +880,6 @@ def test_p2ps_connect_adv_client_pin_method(dev):
     """P2PS advertiser as client with keypad config method on seeker side and auto-accept"""
     addr0 = dev[0].p2p_dev_addr()
     addr1 = dev[1].p2p_dev_addr()
-    dev[0].flush_scan_cache()
     p2ps_advertise(r_dev=dev[0], r_role='2', svc_name='org.wi-fi.wfds.send.rx',
                    srv_info='I can receive files upto size 2 GB')
     [adv_id, rcvd_svc_name] = p2ps_exact_seek(i_dev=dev[1], r_dev=dev[0],
-- 
1.9.1



More information about the HostAP mailing list