]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Stop connection at the end of monitor_iface_unknown_sta
authorJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:44:37 +0000 (15:44 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:53:11 +0000 (15:53 +0200)
Do not leave the station trying to connect at the end of the test case
since that can have an effect to the following test case. Such sequences
should be tested in test cases that are specifically designed for that
rather than randomly between test cases.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_monitor_interface.py

index 1ecf25bb13db9d4f580c44260e11bb5d56bb0517..7af8724bac40ee4befb94240ccec355b2cd06ca4 100644 (file)
@@ -76,3 +76,4 @@ def test_monitor_iface_unknown_sta(dev, apdev):
     ev = dev[0].wait_event(["CTRL-EVENT-DISCONNECTED"], timeout=5)
     if ev is None:
         raise Exception("No disconnection")
+    dev[0].request("DISCONNECT")