tests: Fix ap_ft_reassoc_replay for case where wlantest has the PSK
This test case was failing if wlantest was able to decrypt the CCMP protected frames. Fix the tshark filter string to include only the actually encrypted frames for PN comparison. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e49ce2990f
commit
12de149071
1 changed files with 2 additions and 1 deletions
|
@ -2738,7 +2738,8 @@ def test_ap_ft_reassoc_replay(dev, apdev, params):
|
|||
sta = dev[0].own_addr()
|
||||
filt = "wlan.fc.type == 2 && " + \
|
||||
"wlan.da == " + sta + " && " + \
|
||||
"wlan.sa == " + ap
|
||||
"wlan.sa == " + ap + " && " + \
|
||||
"wlan.fc.protected == 1"
|
||||
fields = ["wlan.ccmp.extiv"]
|
||||
res = run_tshark(capfile, filt, fields)
|
||||
vals = res.splitlines()
|
||||
|
|
Loading…
Reference in a new issue