mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
tests: Fix ap_cipher_tkip_countermeasures_sta test
Write the main interface address to the tkip_mic_test debugfs file to generate Michael MIC failure event (which is different than the p2p_dev_addr when a dedicated P2P Device interface is used). Signed-off-by: Avraham Stern <avraham.stern@intel.com>
This commit is contained in:
parent
2bd5bdcd4b
commit
f3b7761ab7
@ -119,7 +119,7 @@ def test_ap_cipher_tkip_countermeasures_sta(dev, apdev):
|
||||
|
||||
dev[0].dump_monitor()
|
||||
with open(testfile, "w") as f:
|
||||
f.write(dev[0].p2p_dev_addr())
|
||||
f.write(dev[0].own_addr())
|
||||
ev = dev[0].wait_event(["CTRL-EVENT-DISCONNECTED"], timeout=1)
|
||||
if ev is not None:
|
||||
raise Exception("Unexpected disconnection on first Michael MIC failure")
|
||||
|
Loading…
Reference in New Issue
Block a user