From: Jouni Malinen Date: Sat, 28 Dec 2013 16:47:00 +0000 (+0200) Subject: tests: WPS ER selecting AP using BSSID instead of UUID X-Git-Tag: hostap_2_1~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=800bcf4ea1f9ff6211c78e80d3bdd522dc2647ef;p=thirdparty%2Fhostap.git tests: WPS ER selecting AP using BSSID instead of UUID Signed-hostap: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index 1cff91ac8..c2e309e9b 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -475,6 +475,10 @@ def test_ap_wps_er_add_enrollee_pbc(dev, apdev): raise Exception("WPS ER did not report success") hwsim_utils.test_connectivity_sta(dev[0], dev[1]) + # verify BSSID selection of the AP instead of UUID + if "FAIL" in dev[0].request("WPS_ER_SET_CONFIG " + apdev[0]['bssid'] + " 0"): + raise Exception("Could not select AP based on BSSID") + def test_ap_wps_fragmentation(dev, apdev): """WPS with fragmentation in EAP-WSC and mixed mode WPA+WPA2""" ssid = "test-wps-fragmentation"