diff mbox

[14/24] tests: Fix destination address in ap_hs20_remediation_required_ctrl()

Message ID 1423042236-25252-15-git-send-email-ilan.peer@intel.com
State Accepted
Headers show

Commit Message

Peer, Ilan Feb. 4, 2015, 9:30 a.m. UTC
From: Matti Gottlieb <matti.gottlieb@intel.com>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py
index 8ba6e40..41c1433 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)