tests: Update rrm_beacon_req_last_frame_indication to match implementation
The last beacon report indication was set in all the beacon report elements in the last frame of the beacon report, while it should be set only in the last beacon report element of the last frame. This is now fixed in wpa_supplicant, so update the test case expectation to match the fixed behavior. Signed-off-by: Avraham Stern <avraham.stern@intel.com>
This commit is contained in:
parent
56ac1f9dfe
commit
986bfb6ed6
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ def test_rrm_beacon_req_last_frame_indication(dev, apdev):
|
||||||
raise Exception("Last Beacon Report Indication subelement missing")
|
raise Exception("Last Beacon Report Indication subelement missing")
|
||||||
|
|
||||||
last = binascii.hexlify(report.last_indication).decode()
|
last = binascii.hexlify(report.last_indication).decode()
|
||||||
if last != '01':
|
if (i == 2 and last != '01') or (i != 2 and last != '00'):
|
||||||
raise Exception("last beacon report indication is not set on last frame")
|
raise Exception("last beacon report indication is not set on last frame")
|
||||||
|
|
||||||
# The request does not contain the last beacon report indication subelement
|
# The request does not contain the last beacon report indication subelement
|
||||||
|
|
Loading…
Reference in a new issue