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 <matti.gottlieb@intel.com>
This commit is contained in:
Matti Gottlieb 2015-02-04 04:30:26 -05:00 committed by Jouni Malinen
parent 36f2818784
commit 83e1bab022

View 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)