]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix destination address in ap_hs20_remediation_required_ctrl
authorMatti Gottlieb <matti.gottlieb@intel.com>
Wed, 4 Feb 2015 09:30:26 +0000 (04:30 -0500)
committerJouni Malinen <j@w1.fi>
Thu, 5 Feb 2015 11:48:40 +0000 (13:48 +0200)
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 <matti.gottlieb@intel.com>
tests/hwsim/test_ap_hs20.py

index 8ba6e403654495a75c6be1ee72d0fb1096e033a8..41c1433cc5c6360ed2916a31b647e7b5fff28db2 100644 (file)
@@ -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)