diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2015-09-07 20:53:23 +0300 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2015-09-07 20:53:23 +0300 |
commit | 53bd8653c2c6b4c34c6419f0cdb37c302961f8f0 (patch) | |
tree | 1eb3b9ff426685b8808ad166f1335624b81987c0 | |
parent | 24fd20438f00a6f1bdeb6f23358ef60c2696b488 (diff) | |
download | hostap-53bd8653c2c6b4c34c6419f0cdb37c302961f8f0.tar.gz |
tests: WPS and DISABLE/ENABLE AP
This is a regression test case for the issue fixed by the previous
commit (hapd->num_probereq_cb not getting cleared on deinit).
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r-- | tests/hwsim/test_ap_wps.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index 674ab96cb..156179259 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -9057,3 +9057,10 @@ def test_wps_ext_m1_workaround(dev, apdev): logger.debug("Receive M2 from AP") msg, m2_attrs, raw_m2_attrs = recv_wsc_msg(hapd, WSC_MSG, WPS_M2) + +def test_ap_wps_disable_enable(dev, apdev): + """WPS and DISABLE/ENABLE AP""" + hapd = wps_start_ap(apdev[0]) + hapd.disable() + hapd.enable() + dev[0].scan_for_bss(apdev[0]['bssid'], freq="2412") |