diff --git a/tests/hwsim/test_multi_ap.py b/tests/hwsim/test_multi_ap.py index 183fb660d..ca8ea3a31 100644 --- a/tests/hwsim/test_multi_ap.py +++ b/tests/hwsim/test_multi_ap.py @@ -225,6 +225,8 @@ def run_multi_ap_wps(dev, apdev, params, params_backhaul=None, add_apdev=False, dev[0].cmd_execute(['iw', wpas_apdev['ifname'], 'del']) raise + return hapd + def test_multi_ap_wps_shared(dev, apdev): """WPS on shared fronthaul/backhaul AP""" ssid = "multi-ap-wps" @@ -233,7 +235,15 @@ def test_multi_ap_wps_shared(dev, apdev): params.update({"multi_ap": "3", "multi_ap_backhaul_ssid": '"%s"' % ssid, "multi_ap_backhaul_wpa_passphrase": passphrase}) - run_multi_ap_wps(dev, apdev, params) + hapd = run_multi_ap_wps(dev, apdev, params) + # Verify WPS parameter update with Multi-AP + if "OK" not in hapd.request("RELOAD"): + raise Exception("hostapd RELOAD failed") + dev[0].wait_disconnected() + dev[0].request("REMOVE_NETWORK all") + hapd.request("WPS_PBC") + dev[0].request("WPS_PBC multi_ap=1") + dev[0].wait_connected(timeout=20) def test_multi_ap_wps_shared_csa(dev, apdev): """WPS on shared fronthaul/backhaul AP, run CSA"""