From: Matti Gottlieb Date: Wed, 4 Feb 2015 09:30:26 +0000 (-0500) Subject: tests: Fix destination address in ap_hs20_remediation_required_ctrl X-Git-Tag: hostap_2_4~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e1bab022f40f78735d1cb36a1110ac5977f106;p=thirdparty%2Fhostap.git tests: Fix destination address in ap_hs20_remediation_required_ctrl Fix the destination address that is sent in the WNM-Notification to be the BSS address opposed to the P2P address. Signed-off-by: Matti Gottlieb --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 8ba6e4036..41c1433cc 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -1848,7 +1848,7 @@ def test_ap_hs20_remediation_required_ctrl(dev, apdev): def _test_ap_hs20_remediation_required_ctrl(dev, apdev): bssid = apdev[0]['bssid'] - addr = dev[0].p2p_dev_addr() + addr = dev[0].own_addr() params = hs20_ap_params() params['nai_realm'] = [ "0,example.com,21[2:4]" ] hapd = hostapd.add_ap(apdev[0]['ifname'], params)