tests: Make ap_ft_ap_oom4 more robust against compiler optimizations
It looks like the wpa_auth_get_seqnum() function might not always be visible in the backtrace since the compiler may optimize that wrapper away. Use the i802_get_seqnum() function instead as a trigger for the get_seqnum operation failure trigger to avoid this. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f73dd0a692
commit
360d8d4e3c
1 changed files with 1 additions and 1 deletions
|
@ -1871,7 +1871,7 @@ def test_ap_ft_ap_oom4(dev, apdev):
|
|||
if dev[0].get_status_field('bssid') != bssid1:
|
||||
raise Exception("Did not roam to AP1")
|
||||
|
||||
with fail_test(hapd0, 1, "wpa_auth_get_seqnum;wpa_ft_gtk_subelem"):
|
||||
with fail_test(hapd0, 1, "i802_get_seqnum;wpa_ft_gtk_subelem"):
|
||||
dev[0].roam(bssid0)
|
||||
if dev[0].get_status_field('bssid') != bssid0:
|
||||
raise Exception("Did not roam to AP0")
|
||||
|
|
Loading…
Reference in a new issue